in reply to input tab delimited file

my @fields = split(/\t/, $line);

c>$line</c> is neither declared anywhere, nor was a value assigned to it.

Writing while (my $line = <NEWFILE>) {... should help.

(Update: changed wording)

Replies are listed 'Best First'.
Re^2: input tab delimited file
by Bloodnok (Vicar) on Jul 14, 2009 at 17:02 UTC
    ...as the strictures would have been only too quick/pleased to point out:-))

    Hmmm, maybe it's a problem with the understanding, by the OP, of the warnings & errors output by the compiler?

    A user level that continues to overstate my experience :-))