To the beseeched,
I wish to return a glob from a sub and use that glob as a form of a call in an expression. I am wrestling with the syntax. Here is what I am expecting success to look like:
sub retg { ... return *var }
then,
${retg} = ... (possibly) $retg = ... (maybe) or even $foo = $retg (I don't know)
In other words, I wish to call retg within the expression and then do the appropriate "cast" to and use that variable.
Much thanks.
In reply to Returning and using a glob from a sub. by mephtu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |