Re: [RDBO] possible bug fix ( more like a fix for bugs in other places ) + suggestion

2006-10-27 Thread John Siracusa
On 10/25/06, Jonathan Vanasco [EMAIL PROTECTED] wrote: Rose::DB::Object::Helpers:: init_with_column_values_hashref( $self , $hashref ) i'd just really like to see that functionality there - its really useful when you need to edit the yaml, init from storable or another ORM, and its the

Re: [RDBO] possible bug fix ( more like a fix for bugs in other places ) + suggestion

2006-10-25 Thread Jonathan Vanasco
On Oct 25, 2006, at 1:26 AM, John Siracusa wrote: How about... next unless(length $column); You know, to let columns named 0 through :) good catch ! ...and incur one more method call, of course. I'm inclined to take the memory hit :) Also, init_with_hashref is a pretty vague

[RDBO] possible bug fix ( more like a fix for bugs in other places ) + suggestion

2006-10-24 Thread Jonathan Vanasco
I've been going a bit crazy with the to/from yaml for serialization I noticed that YAML::Syck / JSON::Syck can sometimes have a blank line in it, which can screw the parser up, and then the rose reader This will fix it: next unless $column; where? Rose::DB::Object::Helpers

Re: [RDBO] possible bug fix ( more like a fix for bugs in other places ) + suggestion

2006-10-24 Thread John Siracusa
On 10/25/06 1:14 AM, Jonathan Vanasco wrote: I noticed that YAML::Syck / JSON::Syck can sometimes have a blank line in it, which can screw the parser up, and then the rose reader This will fix it: next unless $column; How about... next unless(length $column); You know, to let