develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991118.005] Pseudohashes confuse tie()

Thread Previous
Nick Ing-Simmons
November 18, 1999 12:36
Re: [ID 19991118.005] Pseudohashes confuse tie()
Message ID:
M . J . T . Guy <> writes:
>Presumably it is being confused by the pseudo-hash logic.
>And should tie() on pseudo-hashes Do The Right Thing anyway?

Treating a tied ARRAY as a hash should trigger the pseudo hash code.
(I gave this a passing thought when doing TIEARRAY fixes.)

Likewise a tied HASH should be usable as the index hash.
Now whether either _works_ is a different story - anyone want to 
write a t/*.t type testcase?

Nick Ing-Simmons

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About