Yes but can't the same be accomplished with...

my $myhash = (%{$Request->{Params}});
print $myhash{abc};

Though again it copies the structure, I don't see how dereferencing can be
unclear?

Ilya

-----Original Message-----
From: raptor
To: [EMAIL PROTECTED]; Sterin, Ilya
Sent: 7/13/01 12:24 PM
Subject: Re: nice2haveit

the structure is something like this :

$Request = { 
    Params =>   { 
         abc => 1, 
         ddd => 2 
    }
}

the idea is that U don't dereference i.e. :

 my $myhash = ($Request->{Params});   
if u want to use it U have to do this :

print $$myhash{abc}; #or if u preffer  print $myhash->{abc}

in the case of :
 >local *myhash = \%{$Request->{Params}};
u do this :

print $myhash{abc};

so it is first clearer and second I hope much faster ....

=====
iVAN
[EMAIL PROTECTED]
=====

Reply via email to