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

Re: Problem with attributes not running from do()

Thread Previous
From:
Richard Clamp
Date:
October 6, 2003 15:45
Subject:
Re: Problem with attributes not running from do()
Message ID:
20031006224459.GA30581@mirth.demon.co.uk
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 <richardc@unixbeard.net>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About