Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl Module ending without 1;

by jrsimmon (Hermit)
on Jul 18, 2009 at 12:45 UTC ( #781321=note: print w/ replies, xml ) Need Help??


in reply to Perl Module ending without 1;

There is no requirement for 1;, or any other exact line, at the end of a module or script. All that does is ensure that the module returns 1 rather than whatever the previously most recent value was.


Comment on Re: Perl Module ending without 1;
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-09-19 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (138 votes), past polls