in reply to Return a value

++Corion

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;


All is well. I learn by answering your questions...

Replies are listed 'Best First'.
Re^2: Return a value
by bhushanQA (Sexton) on Jul 06, 2015 at 09:29 UTC
    Thanks both of you... Module is working now...I added return 1 previously as well.. somehow deleted.. Thanks again...