in reply to Re: Perl cheat sheet
in thread Perl cheat sheet
"$foo" creates a stringified copy of $foo. $foo will get stringified when it needs to get stringified. There's no reason to do it prematurely. For example, it prevents people from using object with stringification overloaded.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl cheat sheet
by ursus (Acolyte) on Jan 07, 2009 at 00:50 UTC | |
by ikegami (Patriarch) on Jan 07, 2009 at 01:24 UTC | |
by ursus (Acolyte) on Jan 07, 2009 at 06:10 UTC | |
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