Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Shell scripts and perl

by rah (Monk)
on Sep 13, 2007 at 03:46 UTC ( [id://638731]=note: print w/replies, xml ) Need Help??


in reply to Shell scripts and perl

That does sound like homework!

Since you mention various shells and BAT files in the same sentence I'll throw this out there. If you need to run on Windows and UNIX, perl (or ruby, or python) may be the only way to go. While it can be tough to make certain it remains portable, there's not much hope in writing anything cross platform in any shell language.

The other comment I'd include is if any modules are required. If any/many CPAN modules are required to write it in perl, it may be easier to use shell.

If a valid goal is learning, why not write it in both. If you are familar with shell scripts and learning perl write what you know and learn by porting.

Finally, what usually carries the day - in which can you do it faster! Right or wrong, that usually decides the issue for me.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found