Re: explicit package name

2011-10-03 Thread Chris Stinemetz
> > You have correctly declared the variable $guess, but you are using > $quess here, which doesn't exist. That is the sort of thing 'use strict' > is good at finding for you! > Oh my goodness! Maybe that is a sign it is time to call it a night! Thanks all! Not sure why I couldn't see that. Chri

Re: explicit package name

2011-10-03 Thread Rob Dixon
On 04/10/2011 03:59, Chris Stinemetz wrote: Can someone tell me why I am getting the following error? Global symbol "$quess" requires explicit package name at ./ex10-1.pl line 18. Execution of ./ex10-1.pl aborted due to compilation errors. I declare $guess inside the while loop. Shouldn't that

Re: explicit package name

2011-10-03 Thread John W. Krahn
Chris Stinemetz wrote: Can someone tell me why I am getting the following error? Global symbol "$quess" requires explicit package name at ./ex10-1.pl line 18. Execution of ./ex10-1.pl aborted due to compilation errors. I declare $guess inside the while loop. Shouldn't that suffice for the rest

RE: explicit package name errors

2002-11-06 Thread ss004b3324
Hi Shaunn, > my $sql="SELECT > name, > tbname > from sysibm.syscolumns > where tbname = 'local_table'; --^ You forgot the closing double quotes. You either need to have the query all on one line or concatenate it: my $sql = ( "SELECT name, tbname FROM sysibm.syscolumn

Re: explicit package name errors

2002-11-06 Thread Paul Johnson
Johnson, Shaunn said: > Howdy: > > Can someone tell me why I keep getting the errors: > [snip error] > D:\PERL\BIN\MY_SCPTS>db2_test1.pl > syntax error at D:\PERL\BIN\MY_SCPTS\db2_test1.pl line 35, near "my" > Global symbol "$sth" requires explicit package name at > D:\PERL\BIN\MY_SCPTS\db2_ > tes