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

Re^2: Ways to sequence calls from multiple processes

by DrHyde (Prior)
on Nov 30, 2004 at 09:07 UTC ( [id://411135]=note: print w/replies, xml ) Need Help??


in reply to Re: Ways to sequence calls from multiple processes
in thread Ways to sequence calls from multiple processes

Rather than cutting and pasting code, I strongly recommend moving it into a module which is then used by all your scripts. This means that if you find a bug, you can fix it for all scripts in one place rather than have to edit them all (and I bet you'd miss one here or there). It also means that if for any reason you need to rewrite it because you've moved your code to a different platform or different filesystem where locking semantics are different, you again have to only edit it in one place.

Log In?
Username:
Password:

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

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

    No recent polls found