X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=README;h=54b68ffbfde8a517d4c10e1eac61534fcd320d32;hb=bdaf5af2e37d634a418f6387a8e87d37e72beee4;hp=40d7734d222ec14c002f1266db88df263979809b;hpb=832c6b87e24a3d33216587b6e596443d5497f190;p=perl%2Fmodules%2FScope-Upper.git diff --git a/README b/README index 40d7734..54b68ff 100644 --- a/README +++ b/README @@ -2,14 +2,14 @@ NAME Scope::Upper - Act on upper scopes. VERSION - Version 0.11 + Version 0.15 SYNOPSIS "reap", "localize", "localize_elem", "localize_delete" and "WORDS" : package Scope; - use Scope::Upper qw/reap localize localize_elem localize_delete :words/; + use Scope::Upper qw; sub new { my ($class, $name) = @_; @@ -72,7 +72,7 @@ SYNOPSIS package Try; - use Scope::Upper qw/unwind want_at :words/; + use Scope::Upper qw; sub try (&) { my @result = shift->(); @@ -84,14 +84,14 @@ SYNOPSIS sub zap { try { - my @things = qw/a b c/; + my @things = qw; return @things; # returns to try() and then outside zap() # not reached }; # not reached } - my @stuff = zap(); # @stuff contains qw/a b c/ + my @stuff = zap(); # @stuff contains qw my $stuff = zap(); # $stuff contains 3 DESCRIPTION @@ -419,7 +419,7 @@ ACKNOWLEDGEMENTS Thanks to Shawn M. Moore for motivation. COPYRIGHT & LICENSE - Copyright 2008,2009,2010 Vincent Pit, all rights reserved. + Copyright 2008,2009,2010,2011 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.