in reply to Re^2: No output to screen or output file
in thread No output to screen or output file

Sounds like your input file is 1766 lines long and you are trying to read in the next line after you've already reached the end. Can you show the code where you read in your file?
  • Comment on Re^3: No output to screen or output file

Replies are listed 'Best First'.
Re^4: No output to screen or output file
by dkhalfe (Acolyte) on Jul 25, 2012 at 20:52 UTC

    Here is my code for reading in the input file

    open (FILTER,"$filter_file"); my @filter; <FILTER>; # read one line from the file [HEADERS] while (<FILTER>) { # read other lines chomp; # remove "\n" from the end of the line push @filter,[(split /\t/,$_)]; # create an array of the line +by s$ } @filter = sort { $a->[5] <=> $b->[5] } @filter; # sort the array #--------------------------------------------------------------------- +----$ #PRINTS REFERENCES TO ARRAY FROM LEAST TO GREATEST REGARDING 'ORDER' C +OLUMN print Dumper \@filter; #### For Debugging Purposes