Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: To script or not to script, that is the question...

by castaway (Parson)
on May 31, 2005 at 12:28 UTC ( #462019=note: print w/replies, xml ) Need Help??

in reply to To script or not to script, that is the question...


You name two extremes though, you have a module, complete with own namespace etc, and are trying to decide between that and system()ing a script? The module/own namespace gives you the assurance that you can even use it in scripts that may already have some sort of "update" function that does something else. The other alternative would be to make it a simple .pl containing the sub, and using do "" in your scripts, which will give the calling script it the update sub in it's own namespace.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2016-10-21 18:10 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.