I added 
 1;
Inside sub foo and it didn't work, but I just added it to the end of foo.pl
and it worked!
I don't get it?
But thanks.

-----Original Message-----
From: Bob Showalter [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 09, 2004 1:49 PM
To: BOLCATO CHRIS (esm1cmb); [EMAIL PROTECTED]
Subject: RE: Help with "use"


BOLCATO CHRIS (esm1cmb) wrote:
> It doesn't seem to be foo.pl that is causing the error is seems to be 
> coming from "use AnyDBM_File;"

Why do you say that?

> Could this be? That AnyDBM_File doesn't return a true vlaue?

Did you add 

   1;

To the end of foo.pl? You need to.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to