Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: is 1; at the end of a PM still necessary in 5.6.1 ?

by John M. Dlugosz (Monsignor)
on Jul 23, 2001 at 06:17 UTC ( [id://98897]=note: print w/replies, xml ) Need Help??


in reply to Re: is 1; at the end of a PM still necessary in 5.6.1 ?
in thread is 1; at the end of a PM still necessary in 5.6.1 ?

I really don't know what return from the main top-level code of a module does.

I tried changing the 1 to

return 1; # script loaded OK.
on the PM I'm working on, and nothing changed. So I suppose it's just fine. I'd do without the extra parens, though: return is not a function, and I'm not expecting it to be "called" in list context.

—John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-20 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found