method interpolation

Matt Lawrence matt.lawrence at
Wed Feb 1 13:47:58 GMT 2006

Iain Tatch wrote:
> On 01/02/06, Dirk Koopman <djk at> wrote:
>>My brain is failing me. Is there some incantation (probably including
>>{}) that allows one to do something like:
>>print "This is $syiq->UNIQID";
> warn "Ugly code follows:";
> print "This is ${\( $syiq->UNIQID )}\n";

# Not much difference, but maybe a bit prettier..
print "This is @{[ $sysiq->UNIQID }]\n";


More information about the mailing list