This may be very simple question, but still some light on this would give me clear picture.
I have two files file1.pl and file2.pl. In the first file i have $var = 1 and i want it to get the value in second file.Please give me some ways to do it.
I tried to use the file1.pl in file2.pl but end up with vein.
Note: May be $var can be global variable.
In reply to Exporting variables between two perl files by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |