Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Class::Std, 5.6.1, and AUTOLOAD

by rjbs (Pilgrim)
on Sep 22, 2005 at 17:04 UTC ( #494209=note: print w/ replies, xml ) Need Help??


in reply to Re: Class::Std, 5.6.1, and AUTOLOAD
in thread Class::Std, 5.6.1, and AUTOLOAD

...but those glob assignments are inside the same file as everything else I showed you. Within that file, the subs should be defined first, the attribute handling set up, and then the "runtime" assignment should occur, right? Being inside use doesn't flatten the file's internal order of execution. (That is, BEGIN inside a use'd module still happens before non-BEGIN in there.) If that's true, and I'm fairly sure it is, then I still don't see why this works.
rjbs

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-06-24 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.