For example, if file1.pl uses do "file2.pl"; to run file2.pl, $var (including its value) will be inherited by file2.pl, unless $var is confined to the scope of file1.pl using 'my'.
One world, one people
In reply to Re: Exporting variables between two perl files
by anonymized user 468275
in thread Exporting variables between two perl files
by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |