[CDBI] Adding metadata to objects

Wayne Walker wwalker at bybent.com
Tue Sep 27 22:10:18 BST 2005


So does this ()from man Class::DBI) do what you want?

       Non-Persistent Fields

               Music::CD->columns(TEMP => qw/nonpersistent/);

       If you wish to have fields that act like columns in every other
       way, but that don't actually exist in the database (and thus will
       not persist), you can declare them as part of a column group of
       'TEMP'.

Wayne

-- 

Wayne Walker

wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.gnumber.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net




More information about the ClassDBI mailing list