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>


Reply via email to