If you forget the 1 at the end of a package, Perl tells you "The package didn't return a true value".
For more details, refer this node, Perl Module ending without 1;
In reply to Re: Return a value
by vinoth.ree
in thread Return a value
by bhushanQA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |