mst pointed out that my $val = $obj->{col}; $obj->col(23); print $val; will reflect...
authorMichael G Schwern <mschwern@cpan.org>
Wed, 16 Jan 2008 05:56:23 +0000 (21:56 -0800)
committerMichael G Schwern <mschwern@cpan.org>
Wed, 16 Jan 2008 07:57:57 +0000 (07:57 +0000)
commitebe790dbc130d3604bb07e9636ff0458f8b464a9
tree6ecadeb0b63b314a897946e26cae8ae568cad6ce
parent5ef62e9f53f21785ad3879efedb0548dd991d175
mst pointed out that my $val = $obj->{col};  $obj->col(23); print $val; will reflect the change because of the deferring.  Using a tied scalar as the value is much, much simpler.
lib/DBIx/Class/CDBICompat/ColumnsAsHash.pm
t/cdbi-t/columns_as_hashes.t