[Wellington-pm] Strange (for me) notation

Daniel Pittman daniel at rimspace.net
Wed Jul 22 00:19:19 PDT 2009


Srdjan <srdjan at catalyst.net.nz> writes:

>> But surely you want to know another way, using scalar:
>> $ib->{reg}{scalar LATEST_D_ACROSS_PRODUCTS}
>
> That's cheating and obfuscated way of saying $ib->{reg}{
> LATEST_D_ACROSS_PRODUCTS() } No points.

Actually, it involves 'scalar' as well, so passes an extra OP through the
interpreter compared to the direct () call...

Regards,
        Daniel

I really doubt it makes a measurable difference, however.
-- 
✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons


More information about the Wellington-pm mailing list