A hash is not ordered, so it makes no sense to read the (ordered) elements from a file in a foreach loop over the hash keys.
In reply to Re^3: Reading Binary files in Perl
by Corion
in thread Reading Binary files in Perl
by pranjali_malode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |