FS#21680 - [perl-tie-hash-indexed] 0.05-3 does not work

Attached to Project: Community Packages
Opened by Ayo (yorhel) - Friday, 12 November 2010, 13:22 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 17 December 2010, 16:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



perl-tie-hash-indexed 0.05-3 (i686) does not work at all on my system. It can be 'use'd, but when making use of its functionality perl will die with a "Tie::Hash::Indexed::CLEAR(): THIS is not a blessed SV reference" error. I'm using perl-5.12.1-3.
Removing the package and manually installing Tie::Hash::Indexed using the cpan shell fixes the issue.

Steps to reproduce:

(from the example in the documentation)
$ perl
use Tie::Hash::Indexed;

tie my %hash, 'Tie::Hash::Indexed';

%hash = ( I => 1, n => 2, d => 3, e => 4 );
$hash{x} = 5;
Tie::Hash::Indexed::CLEAR(): THIS is not a blessed SV reference at - line 5.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 17 December 2010, 16:19 GMT
Reason for closing:  Fixed