From: Peter Rabbitson Date: Wed, 27 Jul 2011 08:55:04 +0000 (+0200) Subject: Spellfixoring RT#54388 X-Git-Tag: 0.21~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=271df965daa723231e749006028de25cd3cb8a19;p=p5sagit%2Fnamespace-clean.git Spellfixoring RT#54388 --- diff --git a/Changes b/Changes index aa157c4..2ed7ad2 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ - Only invoke the deleted sub stashing if we run udner a debugger (avoid runtime penalty of Sub::Name/Sub::Identify) + - Spellfixes (RT#54388) [0.20] - Bump Package::Stash dependency to 0.22 to pull in a bugfix in diff --git a/lib/namespace/clean.pm b/lib/namespace/clean.pm index f02bece..9ee2893 100644 --- a/lib/namespace/clean.pm +++ b/lib/namespace/clean.pm @@ -69,9 +69,9 @@ be a module exporting an C method along with some functions: If you just want to C<-except> a single sub, you can pass it directly. For more than one value you have to use an array reference. -=head2 Explicitely removing functions when your scope is compiled +=head2 Explicitly removing functions when your scope is compiled -It is also possible to explicitely tell C what packages +It is also possible to explicitly tell C what packages to remove when the surrounding scope has finished compiling. Here is an example: