But seriously, declaring a variable up-front{ rollback( methodfunction() || last ) }
is a good thing because it is clear.my $variable = methodfunction(); rollback($variable) if defined $variable;
In reply to Re: how to return info from functions
by repellent
in thread how to return info from functions
by chuckd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |