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.
In reply to Re^2: How to make it work when "use strict;" is on?
by lingoes
in thread How to make it work when "use strict;" is on?
by lingoes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |