Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Appending 1 to package

by jwest (Friar)
on Jan 08, 2002 at 21:46 UTC ( #137193=note: print w/ replies, xml ) Need Help??


in reply to Appending 1 to package

Well, if you like, you could use:

'End of Package';

As for the why's, require (which is automagically called as part of a use on a module) wants any initialization code that's run in the module to return a true or false value to indicate whether or not initialization was successful. Since false is implicitly returned instead of true, you have to specify.

--jwest

-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7


Comment on Re: Appending 1 to package
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-08-31 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls