Alan wrote:
On Saturday 11 February 2006 10:10, James Marks wrote:
On Feb 11, 2006, at 12:04 AM, Owen Cook wrote:
On Sat, 11 Feb 2006, Beast wrote:
Could someone explain what is pseudohash means?
Maybe have a read of perlref, try http://perldoc.perl.org/perlref.html
Owen
To my amusement, when I followed your suggestion, I got:
-- Perl 5.8.6 documentation --
Home > Search results
Search results
No matches found for your query "pseudohash"
http://www.google.com/search?q=site%3Aperldoc.perl.org+pseudohash&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
Google turned up some hits though I not have time to peruse any of the hits.
A pseudo-hash is an array where the first element contains a hash, in
essence hashing the array:
ex: @struct = [{foo => 1, bar => 2}, "FOO", "BAR"];
$struct->{foo}; # same as $struct->[1], i.e. "FOO"
$struct->{bar}; # same as $struct->[2], i.e. "BAR"
read your perldocs! ;)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>