Dear fellow monks - once again I seek your wisdom.
Is there a way to embed the return value of a sub directly in a qq{ ... } statement? Something like
sub b{ return("bar"); } print( qq{ monk magic against foo b() } );
I've tested function references and high voltage, but I can't bring it to life.
In reply to sub return value in qq{} by LiquiNUX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |