{}think has asked for the wisdom of the Perl Monks concerning the following question:
I'm very familiar with using the => operator (does it have a name?!?!) for hash initializtion. What exactly happens when on misapplies it to a scalar, as I did? Wouldn't you think this is a good candidate for a warn message?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: $scalar => 'WTF?';
by BrowserUk (Patriarch) on Sep 07, 2011 at 00:49 UTC | |
by {}think (Sexton) on Sep 07, 2011 at 01:05 UTC | |
Re: $scalar => 'WTF?';
by jwkrahn (Abbot) on Sep 07, 2011 at 00:49 UTC | |
Re: $scalar => 'WTF?';
by kejohm (Hermit) on Sep 07, 2011 at 01:21 UTC |