This makes sense when used as an array. You ought not to use used a hash here.
#!/usr/bin/perl use warnings; use strict; my @whatevers = qw( zero one two three four ); splice @whatevers, 2, 1; foreach my $ix ( 0 .. $#whatevers ) { print "$ix ==== $whatever[$ix]\n"; }
In reply to Re: rebuilding hashes
by diotalevi
in thread rebuilding hashes
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |