in reply to Re: Perl Module returning a not true valuein thread Perl Module returning a not true value
so all that line does is return a true value?
Is that line always in a module?
Almost always. As you discovered, the module has to return a true value when it is loaded. By convention, modules are usually ended with a "1;" to ensure that the required true value is returned. Any true value will do though.
"My two cents aren't worth a dime.";
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (76 votes). Check out past polls.