in reply to Using array refs to interpolate a function itno a string?
Try wrapping the function in '@{[ ... ]}':
perl -e 'print qq(time: @{[scalar localtime]});'
In Section
Seekers of Perl Wisdom