On Friday 07 December 2001 12:49, fliptop wrote: > Gerry Jones wrote: > > I want to use a module I have created and stored in cgi-bin directory. It > > holds a few commonly used functions. I remember having done this before, > > but can't remember how I got it to work, and my error log says the module > > did not return a true value. Somebody please save me from wading through > > all the documentation. > > make sure your module returns a true value. for example: > > package Foo; > use strict; > use SomeOtherModule; > > sub bar { > ...some code here... > } > > sub baz { > ...more code... > } > > 1; # all modules should return true > > __END__
<sound of hand smacking forhead> Thanks ;-) Gerry. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]