Whoops - in my reply, I gave you the wrong variable names to declare to Perl. You already declare $spud and @spud, but if you want to also use $potato and @potato, you need to also declare theses as global variables. You're using our, so you should declare:
our $potato; our @potato;
This will allow the two names to be used.
In reply to Re^3: How to make it work when "use strict;" is on?
by Corion
in thread How to make it work when "use strict;" is on?
by lingoes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |