Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: my and local??

by toadi (Chaplain)
on Jul 28, 2000 at 13:27 UTC ( [id://24815]=note: print w/replies, xml ) Need Help??


in reply to my and local??

</CODE> WARNING: In general, you should be using `my' instead of `local', because it's faster and safer. Exceptions to this include the global punctuation variables, filehandles and formats, and direct manipulation of the Perl symbol table itself. Format variables often use `local' though, as do other variables whose current value must be visible to called subroutines. </CODE>

This is what is written in man perlsub.

I think this is kind of straightforward?

--
My opinions may have changed,
but not the fact that I am right

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-25 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found