Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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


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

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 examining the Monastery: (8)
As of 2014-12-29 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls