Re: Anonymous scalars

2008-12-11 Thread Jenda Krynicky
From: christoph.kie...@snb.ch > What is the precise difference between the two ways of generating an > inside-out-object? > > 1/ > my $node = bless \do { my $anonymous }, ref($class) || $class; > > > 2/ > my $a; > my $node = bless \$a, ref($class) || $class; > > In other words, why is it sugge

Re: Anonymous scalars

2008-12-10 Thread Chas. Owens
On Wed, Dec 10, 2008 at 07:55, Christoph Kiefer <[EMAIL PROTECTED]> wrote: > Dear all > > What is the precise difference between the two ways of generating an > inside-out-object? > > 1/ > my $node = bless \do { my $anonymous }, ref($class) || $class; > > 2/ > my $a; > my $node = bless \$a, ref($c