Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Class::Accessor and Damian's PBP

by nothingmuch (Priest)
on Feb 22, 2006 at 21:06 UTC ( #532093=note: print w/replies, xml ) Need Help??

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 =)

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://532093]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2023-03-20 22:37 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (59 votes). Check out past polls.