Benjamin Jeeves wrote:
> Hi All
>
> I have a require statement that is run by my main program but I get a
> error "did not return a true value at ./connecttime.pl line 26,
> <filein> line 11811302." connecttime.pl is the main program and the
> script it is executing this to do pattern matching on the file that
> is passed to connecttime.pl can oneone tell me were I have gone wrong
> please

'require' needs the value returned from the inlcuded to be true. Any
defined non-zero value will do but traditionally Perl modules have

    1;

as their last line.

HTH,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to