in reply to Working with Variables

Sorta. You can use @{[ ... ]} to interpolate code within quotes, like so:
print <<"BLAH"; This is the start of it... @{[ evaluated_code($blah) ]} This is the end of it. BLAH sub evaluated_code { if ($blah == $blah) { return $blah } }
Don't use 'print' in your inner code, or the results will not be what you expect.

stephen