I have answered this same or similiar question for more than once.
So I wrote a FAQ for it, list here:

http://home.arcor.de/pangj/share_variables_between_perl_scripts.txt

If you guys have the different opinions, please let me know, I will update it.


> Message du 01/10/08 01:30
> De : "[EMAIL PROTECTED]"
> A : beginners@perl.org
> Copie à :
> Objet : Accessing a variable from one script to another
>
>
> Hi,
>
> I am very new to Perl. I am trying to access the value stored in one
> variable in a script from a 2nd script.
>
> My First script goes through a file and extracts some data from the
> file and stores in a variable $p;
>
> Now my second script needs to know what was the value in that variable
> $p; Is there any way I can get its value? Please help me if this is
> possible.
>
> Thanks
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>
> 


Regards,
Jeff.

 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

Reply via email to