Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: did not return a true value: what is wrong?

by bobf (Monsignor)
on Nov 05, 2009 at 04:26 UTC ( [id://805134]=note: print w/replies, xml ) Need Help??


in reply to did not return a true value: what is wrong?

Try adding

1;
to the end of the required file. See require for a bit of explanation about this.

Modules must return a true value when they are used. See perlmod.

Replies are listed 'Best First'.
Re^2: did not return a true value: what is wrong?
by cthar (Novice) on Nov 05, 2009 at 09:58 UTC

    Thanks for pointing me to the perlmod and perldoc

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-04-24 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found