[jifty-devel] set_ on a refers_to (collection)
Eric Wilhelm
scratchcomputing at gmail.com
Wed Apr 12 04:42:07 EDT 2006
Hi all,
I'm exploring writing into collections (specifically, the dirt-simple
ones which behave as arrays) and discovered that the autoload setup in
Jifty::DBI::Record lets the $record->set_stuff() request through to
__set() which then makes a lot of "execute failed" noise and returns an
error object.
http://scratchcomputing.com/tmp/refers_to-catch.patch
This patch doesn't really fix anything, it just dies in the right place.
Is there a plan to support writes to collections via the toplevel record
object?
$record->set_stuff(qw(foo bar baz));
?
--Eric
--
You see, Perl's really a big language and it's not a toy.
--Ovid
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------
More information about the jifty-devel
mailing list