Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

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 scrutinizing the Monastery: (5)
As of 2016-08-27 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (379 votes). Check out past polls.