]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Correct two comments in a sample script
authorVincent Pit <vince@profvince.com>
Fri, 16 Apr 2010 13:29:07 +0000 (15:29 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 16 Apr 2010 13:29:07 +0000 (15:29 +0200)
samples/try.pl

index d49c18345b1b308d46241670df4d2c0714a460e5..305a0ec3bef65ec86220ecd60386bd0adf11d595 100644 (file)
@@ -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";