|
|
sybperl-l Archive
Up Prev Next
From: Robert Lang <rlang at lincap dot com>
Subject: RE: Any idea
Date: Nov 3 1999 9:57PM
Try running 5.003
(portia@mars) (/usr/local/bin) 12 $ ./perl5.003 /tmp_disk/testch.pl
Can't call method "sql" in empty package "dbh" at /tmp_disk/testch.pl line
3.
(portia@mars) (/usr/local/bin) 13 $ cat /tmp_disk/testch.pl
#!perl
dbh->sql("foo",undef,1);
(portia@mars) (/usr/local/bin) 14 $
-----Original Message-----
From: fence@bwn.net [mailto:fence@bwn.net]
Sent: Monday, November 08, 1999 2:37 PM
To: SybPerl Discussion List
Subject: RE: Any idea
when trying to create his error I tried several things, including
that, but couldn't come up with anything that generated an
error about an 'empty package'
> Does dbh have a '$' in front of it? This looks suspiciously
like the error
> you get on a typo.
>
>
>
>
> -----Original Message-----
> From: Manjeet Kalsi [mailto:manjeet.kalsi@PRUDENTIAL.COM]
> Sent: Wednesday, November 03, 1999 2:22 PM
> To: SybPerl Discussion List
> Subject: Any idea
>
>
>
> I am running this sybperl script and I get the follwoing error.
Any ideas
> ....
>
> Can't call method "ct_sql" in empty package "dbh" at
getdevices.pl line 84.
>
> Thanks
>
> Manjeet
>
|