There are some subtle differences:
there would be no entry on the current package/namespace/stash. That makes a really private code.my $coderef = sub { #...do something with @_... return ($value1, $value2); };
In reply to Re: why use a coderef?
by ferreira
in thread why use a coderef?
by juanbro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |