http://qs321.pair.com?node_id=398863


in reply to Re: Murder of a Perl coder (announced)
in thread Murder of a Perl coder (announced)

Why do perl -e "while (<>){s/abc/def/ig; print}" when you can do perl -pe "s/abc/def/ig" ?

Replies are listed 'Best First'.
Re^3: Murder of a Perl coder (announced)
by EdwardG (Vicar) on Oct 13, 2004 at 14:38 UTC

    Because someone's got to supply material for the Type D monks. ;-)

     

Re^3: Murder of a Perl coder (announced)
by DrHyde (Prior) on Oct 14, 2004 at 09:08 UTC
    Because there are more important things to remember than perl command line switches.