Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re^2: Lexical pad / attribute confusion

by djantzen (Priest)
on Dec 22, 2002 at 02:05 UTC ( [id://221706]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Lexical pad / attribute confusion
in thread Lexical pad / attribute confusion

Since you can also see everything in CHECK and END blocks, which are run after compilation, I still don't understand what is going on.

I think it's because at those stages in the program's lifecycle you don't have a runtime scope, or perhaps it's better said that the entire program is in their scope. They see everything written on a particular pad by the compiler, without perl hiding entries according to scoping rules. (Update: see diotalevi's remark above.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-03-29 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found