|
|
| Do you know where your variables are? | |
| PerlMonks |
"use strict" and undeclared variablesby padawan_linuxero (Scribe) |
| on Oct 11, 2007 at 14:20 UTC ( [id://644242]=perlquestion: print w/replies, xml ) | Need Help?? |
|
padawan_linuxero has asked for the wisdom of the Perl Monks concerning the following question:
Hello I am newbie to Perl and DBI I have been working on this code wish is a sample on how to view all data from a mysql but here is the cuestion, everywhere they told me to use strict, but everytime I try to run this program it fail giving me this error message: Global symbol "@row" requires explicit package name at conexionMySql2.pl line 13. Global symbol "@row" requires explicit package name at conexionMySql2.pl line 14. so I did the unthinkable I put a #on use strict and it WORK!!!! Can someone help me understanding why this is like this? TIA
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||