Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

-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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2019-10-15 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?