Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: need help...

by tilly (Archbishop)
on Jan 26, 2011 at 06:54 UTC ( [id://884284]=note: print w/replies, xml ) Need Help??


in reply to need help...

If script A does something useful, then you can't do this.

My first inclination would be to move the variable from script A to module C, use it in script A, and use it in script B. Alternately you can set logic in script A saying, "Don't do anything if variable $x is set", and set it in script B before doing script A.

I'm pretty sure that if I saw the actual scripts in question I could come up with a much better solution than the two suggestions I gave you off of the top of my head.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found