http://qs321.pair.com?node_id=11147905

LiquiNUX has asked for the wisdom of the Perl Monks concerning the following question:

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.