use strict; # set some path variables. $msagdir = '/stlouis4/msag'; $tempdir = $msagdir . '/tempfiles'; $datadir = $msagdir . '/data/SAG_MSAG/';
I receive the following errors...
Global symbol "$msagdir" requires explicit package name at parse_zip.p +l line 16. Global symbol "$tempdir" requires explicit package name at parse_zip.p +l line 17. Global symbol "$datadir" requires explicit package name at parse_zip.p +l line 18.
Where have I gone wrong and what is the diff. between a global and local variable in a script?
Thanks-
ep
Edit 2001-05-08 by tye
In reply to Global vs. Local by ep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |