Subject: | doc flaw in examples 2nd argument to tie should use quotes |
If you try to copy the examples from the CPAN web page
http://search.cpan.org/~chorny/Tie-IxHash-1.22/lib/Tie/IxHash.pm
it will not work under pragma 'use strict' because Tie::IxHash is used
as a bare word here.
Specifically
tie HASHVARIABLE, Tie::IxHash [, LIST];
=>
tie HASHVARIABLE, 'Tie::IxHash' [, LIST];
and
$t = tie(%myhash, Tie::IxHash, 'a' => 1, 'b' => 2);
=>
$t = tie(%myhash, 'Tie::IxHash', 'a' => 1, 'b' => 2);
Hope that helps, Heiko