Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: UNIX 'command' equivalents in Perl

by RMGir (Prior)
on Jul 18, 2007 at 09:58 UTC ( #627223=note: print w/ replies, xml ) Need Help??


in reply to UNIX 'command' equivalents in Perl

UNIXPerlOrigin
cutsplitbuilt-in
ifif, unlessbuilt-in
whilewhile, for, foreachbuilt-in

Of course, cut usually winds up being in a complex pipe with sed, sort, and join, so if you see cut in a pipe sequence, odds are you've found a perfect piece of shell script to convert to perl...

And complex conditional or looping structures are much easier in perl than shell (at least to me...)


Mike


Comment on Re: UNIX 'command' equivalents in Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-07-30 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls