Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: my and local??

by merlyn (Sage)
on Jul 28, 2000 at 16:36 UTC ( [id://24837]=note: print w/replies, xml ) Need Help??


in reply to my and local??

The simplest explanation is something like:
  • my creates a temporary variable that is not in any package
  • local creates a temporary value for a global (package) variable

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found