in reply to Junior High (3) Haiku

I'm new to this type of crazy Perl poetry coding. Would you mind explaining how I run this? I attempted to copy all of the code exactly how it is into a file, but when I ran it I got several errors. What am I missing? It looks cool and I'm trying to figure it out.

I Want To Learn :) Thanks -Eric

Replies are listed 'Best First'.
Re: Re: Junior High (3) Haiku
by belg4mit (Prior) on May 11, 2002 at 17:21 UTC
    Ideally perl poertry should run, or at least compile. Though it almost never actually does anything. This will compile (perl -c), but won't run, for obvious reasons such as calling undefined subroutines.

    --
    perl -pew "s/\b;([mnst])/'$1/g"