in reply to = rather than =~ ?

Good catch!

That should have been =~! Where were you when that was being tech reviewed? Or where was my brain when I was typing that?

Thanks... I'll add it as an errata.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: = rather than =~ ?
by pg (Canon) on Jan 01, 2004 at 20:15 UTC

    This note might confuse newbies, so I thought just add a comment.

    "That should have been =~!"

    What merly said is that, that was a typo, and not what he wanted. (As you can see, he is the owner of that web page.)

    But as a Perl statement, it is absolutely valid, and jweed has already given a full explanation.

Re: •Re: = rather than =~ ?
by diotalevi (Canon) on Jan 01, 2004 at 23:01 UTC
    Goodness. And all this time I thought you had /meant/ it that way.