in reply to Keeping variable persistent

Could you post some code? What do you mean by "accesses several other perl scripts sequentially"? Are you using system? Are you using the special form of do? Are you actually just running some Perl scripts sequentially for which a shared data file might be an appropriate solution?

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Replies are listed 'Best First'.
Re: Re: Keeping variable persistent
by wolverina (Beadle) on Aug 06, 2002 at 00:20 UTC
     >>Are you actually just running some Perl scripts sequentially for which a shared data file might be an appropriate solution?
    
    Yess.. the first script access's the second script..
    and so on.. i need a variable from the first script
    to be available to the last script.. but from what
    ive seen so far.. variables dissapear when the script
    pertaining to that variable has finished running.
    So i don't need to share a data file.. just keep a
    variable from the first script alive, or available 
    for the last script.