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

Re: Re: open-coding a system() operation

by dug (Chaplain)
on Apr 22, 2003 at 04:14 UTC ( [id://252191]=note: print w/replies, xml ) Need Help??


in reply to Re: open-coding a system() operation
in thread open-coding a system() operation

I've written this both ways before, but generally prefer the style that merlyn used in the snippet. I like to see potential failures at the beginning of a block of code if it makes sense (it does to me in this snippet). It also fits my brain best to see the child before the parent, since it will most likely be doing the heavy lifting.

After all this talk of child labor is reminding me of William Blake's "The Chimney Sweeper". Guess I have my night reading lined out for me ;-)

-- dug
  • Comment on Re: Re: open-coding a system() operation

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found