It's pretty difficult to call without having the input data to test against, but if $myhash{$Line} is an uninitialized, then either the regex in the do_hash function failed to assign a value to $Data, or the value of $Line in the main body regex doesn't match up to your keys. If the problem is the former, you likely have some badly-formed data in file_data. If the problem is the latter, I would guess badly-formed data in data_list.
In reply to Re: hash problem
by DamnDirtyApe
in thread uninitialized value on hash lookup (was: hash problem)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |