From: Vincent Pit Date: Fri, 16 Apr 2010 13:29:07 +0000 (+0200) Subject: Correct two comments in a sample script X-Git-Tag: v0.11~10 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=a09dde4832af673cb9fc0c32222db6da34d70999;p=perl%2Fmodules%2FScope-Upper.git Correct two comments in a sample script --- diff --git a/samples/try.pl b/samples/try.pl index d49c183..305a0ec 100644 --- a/samples/try.pl +++ b/samples/try.pl @@ -21,7 +21,7 @@ sub zap { print "NOT REACHED\n"; } -my @what = zap(); # @what contains @things -my $what = zap(); # @what contains @things +my @what = zap(); # @what contains qw/a b c/ +my $what = zap(); # $what contains 3 print "zap() returns @what in list context and $what in scalar context\n";