Column accessor returning as a ref to Class::DBI::Column

[prev] [thread] [next] [Date index for 2005/01/26]

From: Y00R0B0T
Subject: Column accessor returning as a ref to Class::DBI::Column
Date: 17:39 on 26 Jan 2005
anyone know why this would happen?

I have a class that declares a has_a relation ship 

BAR->has_a( foo_id=>'FOO' )

Dumping the ref  gives me this:

VAR= bless( {
               ....
               foo_id=> bless ({
                       fool_id=> bless({
                                   name=>'different_col',
                       
                                   } Class::DBI::Column),
                } FOO),
})

why is foo_id->foo_id a ref? infact, the mutator, accessor, and name
of the foo_id ref is claiming to be an entirely different column....

-james

Column accessor returning as a ref to Class::DBI::Column
Y00R0B0T 17:39 on 26 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52