Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by itub (Priest)
on Oct 13, 2004 at 13:43 UTC ( #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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://398863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-10-31 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (286 votes). Check out past polls.

    Notices?