provide alternate init arg for an attribute

[email protected] (Caleb Cushing)
Newsgroups perl.moose
Message-ID <CAAHKNRHbV95AyspRoXQO-Y=W1QE1ev5e1DM-s9ZBz_5K6c5+=g@mail.gmail.com>
http://stackoverflow.com/questions/10051181/how-can-i-provide-an-alternate-init-arg-for-an-attribute-in-moose

I'm trying to add an alternate name/init_arg for some attributes in my
objects. MooseX::Aliases does this behavior (but with some features I
don't want, and some things that ultimately make it unusable for what
I need ). I'm not sure what things I might be missing in my linked
code to make it work, the trait appears to be added right, but around
initialize_instance_slot doesn't get called. Which magic have I not
pulled out of MooseX::Aliases that I need to accomplish this?

please cc me in responses as I'm not on the list
-- 
Caleb Cushing

http://xenoterracide.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.