On Mon, May 29, 2000 at 08:05:08AM -0500, Hui Zhu wrote: > Hi ALL: > > I have a module called samplemod.pm. It used to work fine. After modifying > something, i got errors from a perl > script (use samplemod;) saying: > samplemod.pm did not return a true value at /home/httpd/perl/test.pl line 12. > BEGIN failed--compilation aborted at /home/httpd/perl/test.pl line 12. > Any hints, Thank you very much. > > Steven. > End of code: 1; Every module has to return a true value at the end of it.... you could probably do 1000; at the end, but 1 is convention. Thanks, Shane.
- Re: Wierd problem with redire... Vijay
- Re: Wierd problem with redire... Drew Taylor
- Re: Wierd problem with redire... Rob Tanner
- Re: Bugs 5.6.0 modperl use? Jim Winstead
- RE: Bugs 5.6.0 modperl use? Jeff Stuart
- Re: Bugs 5.6.0 modperl use? Michael hall
- Re: Bugs 5.6.0 modperl use? Doug MacEachern
- Re: Bugs 5.6.0 modperl use? Michael hall
- RE: Bugs 5.6.0 modperl use? Autarch
- Please HELP, Thanks. Hui Zhu
- Re: Please HELP, Thanks. shane
- Re: Please HELP, Thanks. Christian Stamgren
- RE: Bugs 5.6.0 modperl use? Steve Reppucci
- Re: Bugs 5.6.0 modperl use? Jeremy Howard
- Re: Bugs 5.6.0 modperl use? Doug MacEachern
- RE: Bugs 5.6.0 modperl use? Graf, Chris
- Re: Bugs 5.6.0 modperl use? Jeremy Howard
- Re: Bugs 5.6.0 modperl use? Jeremy Howard