http://qs1969.pair.com?node_id=532093


in reply to Class::Accessor and Damian's PBP

Class::DBI has some kind of prefixing support interacting with Class::Accessor. Look at the code and steal it =)

-nuffin
zz zZ Z Z #!perl

Replies are listed 'Best First'.
Re^2: Class::Accessor and Damian's PBP
by cbrandtbuffalo (Deacon) on Feb 23, 2006 at 21:27 UTC
    Thanks for the pointer.

    It appears CDBI is using Class::Accessor in the currently support method of overriding get and set. After looking at Class::Accessor, I think what I want is a way to provide my own alias that is different from the actual field name, which isn't supported right now.