Re: dereferencing
- From: perl-04@xxxxxxxxxxxxxxxx (Jeremy Kister)
- Date: Mon, 29 Oct 2007 22:21:54 -0400
On 10/29/2007 8:21 PM, Tom Phoenix wrote:
my %newhash = %{$hashref};
You have made a copy of the hash. I do not believe that that is what
the original poster wished, which I think would be a new hash that the
old reference points to. I don't think that what the original poster
wants is even possible, but I can't see any reason to need it, either.
Oops. I knew I was making a new hash (hence the variable name). I read his message (and subject) to imply that all he wanted was dereferencing. My fault.
--
Jeremy Kister
http://jeremy.kister.net./
.
- References:
- dereferencing
- From: Aaron Priven
- Re: dereferencing
- From: Jeremy Kister
- Re: dereferencing
- From: Tom Phoenix
- dereferencing
- Prev by Date: One sprintf() initializations problem
- Next by Date: Re: Hash Variables
- Previous by thread: Re: dereferencing
- Next by thread: Re: dereferencing
- Index(es):
Relevant Pages
|