in reply to Re: How to make it work when "use strict;" is on?
in thread How to make it work when "use strict;" is on?
when I turned off the "use strict;", it worked well...Variable "$potato" is not imported at E:\perl_script\chp3\typeglob.pl +line 8. Possible unintended interpolation of @potato in string at E:\perl_scri +pt\chp3\typeglob.pl line 9. Variable "@potato" is not imported at E:\perl_script\chp3\typeglob.pl +line 9. Global symbol "$potato" requires explicit package name at E:\perl_scri +pt\chp3\typeglob.pl line 8. Global symbol "@potato" requires explicit package name at E:\perl_scri +pt\chp3\typeglob.pl line 9. Execution of E:\perl_script\chp3\typeglob.pl aborted due to compilatio +n errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to make it work when "use strict;" is on?
by Corion (Patriarch) on Nov 19, 2014 at 13:15 UTC | |
by lingoes (Initiate) on Nov 19, 2014 at 13:24 UTC |