Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: At what point do you rewrite that old shell script in Perl?

by oko1 (Deacon)
on Apr 12, 2008 at 04:19 UTC ( [id://679938]=note: print w/replies, xml ) Need Help??


in reply to At what point do you rewrite that old shell script in Perl?

It's not really linecount-based, for me - I'll do it as soon as the need for calculation or complex processing becomes significant, or if it's apparent from the beginning. Contrariwise, if the task mostly requires filesystem operations rather than either of the above, I'll stick with a shell script. I've even been known to do a back-ticked Perl op in a shell script that's doing heavy filesystem lifting - and have also done Perl scripts with the occasional back-ticked shell op. Having both gives me a lot of flexibility/granularity along that spectrum.


-- 
Human history becomes more and more a race between education and catastrophe. -- HG Wells
  • Comment on Re: At what point do you rewrite that old shell script in Perl?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2024-04-23 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found