Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Return a value

by vinoth.ree (Monsignor)
on Jul 06, 2015 at 07:16 UTC ( [id://1133320]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1133320]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-03-28 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found