http://qs1969.pair.com?node_id=46433


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]});'