in reply to Re: Use of the => operator
in thread Use of the => operator

From perlop: The => digraph is mostly just a synonym for the comma operator. It's useful for documenting arguments that come in pairs. As of release 5.001, it also forces any word to the left of it to be interpreted as a string.

I'd call 01 a word, especially since 01 =~ /^\w+$/ will match. But yup, since perl defines Perl, 01 isn't a word ;)

Replies are listed 'Best First'.
Re^3: Use of the => operator
by Joost (Canon) on Aug 10, 2004 at 15:28 UTC
Re^3: Use of the => operator
by gmpassos (Priest) on Aug 10, 2004 at 15:23 UTC
    Maybe perlop need some updates!

    Graciliano M. P.
    "Creativity is the expression of the liberty".