in reply to Re^2: How to make it work when "use strict;" is on?
in thread How to make it work when "use strict;" is on?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to make it work when "use strict;" is on?
by lingoes (Initiate) on Nov 19, 2014 at 13:24 UTC |