sub goo { my $var = foo(); print "var is $var->{ message }\n" if $var->{error}; }
In reply to Re: Return a var from one sub to another
by philcrow
in thread Return a var from one sub to another
by Luken8r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |