Hi,
That would probably be the best way to do it. You may want to save some grief, and not allow quotes. If you do, it implies you can do:
field_one=1,field_two="this won't work, really",field_3=5
To do something like that is a lot harder. If you skip the quotes, then what you have will work fine.
Another idea is if you are using ->add() method and want to just preserve defaults, you can just do:
foreach my $system_column (qw/list of system columns/) {
$IN->delete($system_column);
}
and then add() will take the defaults. Same goes for modify.
Cheers,
Alex
--
Gossamer Threads Inc.
That would probably be the best way to do it. You may want to save some grief, and not allow quotes. If you do, it implies you can do:
field_one=1,field_two="this won't work, really",field_3=5
To do something like that is a lot harder. If you skip the quotes, then what you have will work fine.
Another idea is if you are using ->add() method and want to just preserve defaults, you can just do:
foreach my $system_column (qw/list of system columns/) {
$IN->delete($system_column);
}
and then add() will take the defaults. Same goes for modify.
Cheers,
Alex
--
Gossamer Threads Inc.