It doesn't seem to be foo.pl that is causing the error is seems to be coming from "use AnyDBM_File;" Could this be? That AnyDBM_File doesn't return a true vlaue?
-----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 1:36 PM To: BOLCATO CHRIS (esm1cmb); 'Wiggins d Anconia'; [EMAIL PROTECTED] Subject: RE: Help with "use" BOLCATO CHRIS (esm1cmb) wrote: > I am receiving "/home/users/me/foo.pl did not return a true value at > ./program1.pl at line 2" where line 2 is the "require". That's the semantics of "require" (see perldoc -f require). The standard idiom is to place 1; at the end of foo.pl, so that the last expression evaluated will be true. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>