On Dec 13, 2007 11:58 AM, Derek Watson <[EMAIL PROTECTED]> wrote: > Is there a reason why I can't set the first value of an array to NULL? I > want to store this {NULL, 1, 2, 3} by way of an RDBO array column but I > think the following function from Rose::DB 0.737 is preventing me from doing > so: > > sub format_array > { > my($self) = shift; > > my @array = (ref $_[0]) ? @{$_[0]} : @_; > > return undef unless(@array && defined $array[0]); > > Thoughts?
Looks like a bug to me. Too bad you just missed today's release :-/ Anyway, fixed in SVN. -John ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object