develooper Front page | perl.perl6.language | Postings from May 2005

Re: Transparent / Opaque references

Thread Previous | Thread Next
From:
Brent 'Dax' Royal-Gordon
Date:
May 27, 2005 23:43
Subject:
Re: Transparent / Opaque references
Message ID:
b8b9a51105052723437da88090@mail.gmail.com
Juerd <juerd@convolution.nl> wrote:
> There is no way to get an anonymous rw scalar, is there?

There's always the Perl 5 hack:

    \do { my $x }

Although that's not truly anonymous, I suppose.

-- 
Brent 'Dax' Royal-Gordon <brent@brentdax.com>
Perl and Parrot hacker

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About