Do you want o do anything with the data if the description is empty? If not the fast approach could be something like:
sub _get_user_scenario { my ($self, $schema, $user_scenario) = @_; return undef if $user_scenario->{description} eq ""; ...
In reply to Re: how to get out of subroutine without returning anything
by jacaril
in thread how to get out of subroutine without returning anything
by siddheshsawant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |