develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Problem with attributes not running from do()

Thread Previous
Richard Clamp
October 6, 2003 15:45
Re: Problem with attributes not running from do()
Message ID:
On Mon, Oct 06, 2003 at 07:03:42PM +0200, Rafael Garcia-Suarez wrote:
>                                                                 I don't
> know how Attribute::Handlers works, or why it has been chosen to run
> them at CHECK-time by default.

I put the attached notes together earlier today, which kinda answers
both, and kinda doesn't... It's all about knowing the names of things
which you won't until after the attribute handler is first invoked.

I was thinking of writing some XS to grub round and find out what the
name of something *will* be.  That'll make applying these attributes
possible at BEGIN time, but the amount of evil required worries me.

Richard Clamp <>

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About