enjoy!my %hash = qw( 100 g 101 j 102 d 103 h 104 t 105 a ); my $number = 3; my $start = 101; delete @hash{$start .. $start+$number-1};
-- Casey I am a superhero.
In reply to Re: Removing a certain number of hash keys
by cwest
in thread Removing a certain number of hash keys
by myocom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |