What's the reason for redeclaring the $id variable in the final 'for' loop?
Habit, keeping things local to where they are used rather than global in scope.
I'm also wondering whether the length function works on a hash such as $seq{$id} in the same way it works on say something like $id?
to length either is just yet another string
In reply to Re^3: Picking out specific lengths from a set of hashes.
by huck
in thread Picking out specific lengths from a set of hashes.
by Peter Keystrokes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |