Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Murder of a Perl coder (announced)

by itub (Priest)
on Oct 13, 2004 at 13:43 UTC ( [id://398863] : note . print w/replies, xml ) Need Help??


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.