- or download this
tie my %hash,'Tie::SortHash',{a=>1,b=>2};
delete $hash{'x'};
print join "\t",keys %hash;
- or download this
Use of uninitialized value in splice at D:\Temp\tie_sorthash.pl line 4
+3.
b
- or download this
sub _ReOrder {
my $self = shift;
$self->[LOOKUP] = ();
$self->[ARRAY] = ();
- or download this
defined $self->[ARRAY][$index] ? $self->[ARRAY][$index] : undef;