New(?) for qw(...) error

Nicholas Clark nick at ccl4.org
Wed Mar 28 21:48:37 BST 2007


On Wed, Mar 28, 2007 at 03:23:30PM +0200, Rafael Garcia-Suarez wrote:
> On 28/03/07, McGlinchy, Alistair
> <Alistair.McGlinchy at marks-and-spencer.com> wrote:
> >While verifing this little meme, I found this extra piece of magical $_
> >fun.  Shouldn't these all print the same thing?
> 
> Certainly they should. Apparently, for some reason, in the 2nd case
> the parser is confused and think that "print" is a literal string (as
> in an hashref). Adding a semicolon after print solves it. Not sure how
> to fix that.

"fix in six"?

Nicholas Clark


More information about the london.pm mailing list