http://qs1969.pair.com?node_id=323746


in reply to Re: Class::DBI find_or_create method inserts record but $obj->id is undef
in thread Class::DBI find_or_create method inserts record but $obj->id is undef

Perrin,
Thank you for the reply. Perhaps I am failing to grok how to delete the field from the CGI object, for instance if I do this:

$q->param('class_id') = undef;

I get "Can't modify non-lvalue subroutine call".
Is there some other way to alter the object that will work here?
TIA
jg
_____________________________________________________
"The man who grasps principles can successfully select his own methods.
The man who tries methods, ignoring principles, is sure to have trouble.
~ Ralph Waldo Emerson