Hey Marshal,
I've defiantly made some headway with the new simplified version that you gave me. But I just have one questions about it at the moment.
1. For the section in the code where it Dumps the raw records,
foreach my $line (@records)
{
(my $colnumber1, @rest) = split(' ',$line);
printf "%-8s @rest\n", $colnumber1;
}
how does the first line in the loop (one with the 'split' function) work?
I get that your creating and assigning 2 new variables, but how does it work setting one split function equal to 2 different variables (and 2 different types of variables)? By doing 2 print statements inside that loop, one fore each variable, I can see that:
$colnumber1 = either 'OWNER' -or- 'WAITING'
@rest = one whole line of data not including 'OWNER' or 'WAITING'
UPDATE
Came across one other question for the moment.
In the same file what does the line
if (!$current_owner) check for if $current_owner has no value? Or does it?
Thanks,
Matt