List Info

Thread: method interpolation




method interpolation
user name
2006-02-01 13:47:58
Iain Tatch wrote:
> On 01/02/06, Dirk Koopman <djktobit.co.uk> 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";

Matt
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )