in reply to Perl cheat sheet

Your elsif should have parens following.

And your backslashes seem to be missing from the description of \s.

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

Replies are listed 'Best First'.
Re: •Re: Perl cheat sheet
by Juerd (Abbot) on Nov 29, 2002 at 22:22 UTC

    Oops, I forgot the parens. Guess I am a Perl newbie too :) The backslashes are gone because I forgot to escape them on my own site-to-be (I copied and pasted it from there to here. Might have been a better idea to copy it from the initial text file).

    Both are fixed. Thanks!

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.