in reply to Re^2: my $1
in thread my $1
Baah, this gives me creeps.
perl -e '@foo = map {$_=2; foo()} 1..10; sub foo{print}' 2222222222 $ perl -e '@foo = map {my $_=2; foo()} 1..10; sub foo{print}' 12345678910
print "just another perl5.8 hacker"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: my $1
by JavaFan (Canon) on Apr 23, 2009 at 22:08 UTC |
In Section
Seekers of Perl Wisdom