in reply to Re^2: Trying to understand closures
in thread Trying to understand closures
Prints out:print __LINE__ . ": $x\n"; my $x = 123; print __LINE__ . ": $x\n"; my $x = 456; print __LINE__ . ": $x\n"; my $x; print __LINE__ . ": $x\n";
1: 3: 123 5: 456 7:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Trying to understand closures
by ikegami (Patriarch) on Nov 24, 2006 at 05:54 UTC |