my ($a, $b, $c, $d) = split(/\|/,$unloadrow); #### $hash{'a'} = $a; $hash{'b'} = $b; ...