in reply to Re^2: Perl cheat sheet
in thread Perl cheat sheet
Globals are an important exception here. If you log($!), you may easily have a clobbered $! by the time you use it. log("$!") gets a snapshot of the variable at the time of the call.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl cheat sheet
by ikegami (Patriarch) on Jan 07, 2009 at 01:24 UTC | |
by ursus (Acolyte) on Jan 07, 2009 at 06:10 UTC | |
Re^4: Perl cheat sheet (dualvars)
by lodin (Hermit) on Jan 07, 2009 at 08:07 UTC | |
by ikegami (Patriarch) on Jan 07, 2009 at 09:23 UTC |
In Section
Craft