Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: (proposed)Scoping tutorial

by cephas (Pilgrim)
on Dec 20, 2000 at 00:11 UTC ( [id://47453]=note: print w/replies, xml ) Need Help??


in reply to (proposed)Scoping tutorial

A couple of suggestions:

Introduce the terms lexical and dynamic for the my and local variables.

Give examples of why local is useful (ie local $/;)

Cover the use of our() inside a subroutine to insure accessing a global when that is what you want.

cephas

Log In?
Username:
Password:

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

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

    No recent polls found