It seems like you already know exactly what's going on(?). When-
$schema->resultset("UserScenario")->search({ "name" =>$user_scenario->{name}, })->first
-finds no UserScenario record, you get an error trying to call the method "description" on nothing. Bit like trying to do undef->do_something.
In reply to Re: A doubt about DBIx::Class
by Your Mother
in thread A doubt about DBIx::Class
by siddheshsawant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |