Skip Menu |

This queue is for tickets about the Tie-IxHash CPAN distribution.

Report information
The Basics
Id: 57363
Status: resolved
Priority: 0/
Queue: Tie-IxHash

People
Owner: Nobody in particular
Requestors: heiko [...] hexco.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.22
Fixed in: 1.23



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