Hi, 

is there a way to coerce an attribute with the help of other attributes passed 
to new ?

I my class a pass a DBIC schema object and a DBIC::RowObject to new.
Now I would like to be able to just pass the  id instead of the RowObject and 
define a coercion like 

DbObject  coerce => from Int, via {    FETCH Row from schema , but how do I get 
the  schema attribute? } 

(Would need some kind of lazy coercion )


Rolf Schaufelberger




Reply via email to