Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Sharing variables between applications

by sflitman (Hermit)
on Jul 04, 2010 at 12:08 UTC ( #847981=note: print w/ replies, xml ) Need Help??


in reply to Sharing variables between applications

Why not send a command line argument to app2?

system 'app2.pl word';
Alternatively you could set an environment variable:
system "X=word; app2.pl";
and app2 would have to look for it in %ENV

HTH,
SSF


Comment on Re: Sharing variables between applications
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-07-04 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls