Possible unintended interpolation of @array in string
That's only a warning.
Global symbol "@array" requires explicit package name
That's an error. You need to declare @array with my before the first use:
my @array = qw(one two three four five six seven eight nine ten);
In reply to Re: Compilation error
by moritz
in thread Compilation error
by truthseeker66
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |