in reply to Using array refs to interpolate a function itno a string?

print takes a list so you could make life easy by:
use strict; use warnings; sub f { $_[0] = $_[0] . '_modified' } my $x = 'value'; print 'Here is the modified value ', f($x), '. Print is a list, eh?', + "\n\n"; __END__ jptxs:/home/jptxs $ perl functionPrint Here is the modified value value_modified. Print is a list, eh? jptxs:/home/jptxs $

Can't say I've ever used array refs to interpolate functions into strings - I always do something like the above. But I'm sure some other monk would know.

"A man's maturity -- consists in having found again the seriousness on +e had as a child, at play." --Nietzsch +e