Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: my and local??

by merlyn (Sage)
on Jul 28, 2000 at 16:36 UTC ( #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
Node Status?
node history
Node Type: note [id://24837]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2021-04-12 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?