Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: System vs modules

by Joost (Canon)
on Aug 05, 2005 at 13:34 UTC ( [id://481243]=note: print w/replies, xml ) Need Help??


in reply to System vs modules

Using standard modules should be more portable than external apps.

File::Copy is portable to every OS perl runs on as far as I know, while cp and copy are not available on every OS. I tend to use File::Copy for all my copying needs.

On the other hand, I've worked on some solaris installs where Sys::Syslog was not available. YMMV.

In general, using modules is faster than forking off an external program, especially if you call a lot of them, but some external programs are more efficient than the equivalent perl module, especially when dealing with huge files.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-18 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found