You never assign anything to $line, $date, $orig, $desg and $body before you use them in the following:
if ( $line =~ /(\d+\-\d+\-\d+\s\d+\d+\d+\+)/ ) { $ +date = $1; } else { $seqs{$sequence} = "$date;$orig;$desg;$body"; }
You also set $date without ever using it.
In reply to Re: trouble assigning values to hash
by ikegami
in thread trouble assigning values to hash
by bluethundr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |