>
> 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
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
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
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
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