in reply to Re: print to match multiple pattern
in thread print to match multiple pattern

Desired output comes as ..

Use of uninitialized value $t7 in pattern match (m//) at ./program_2.pl line 14.

Use of uninitialized value $t7 in pattern match (m//) at ./program_2.pl line 14.

Use of uninitialized value $t7 in pattern match (m//) at ./program_2.pl line 14.

Replies are listed 'Best First'.
Re^3: print to match multiple pattern
by Corion (Patriarch) on Sep 10, 2012 at 11:43 UTC

    So, have you looked at the contents of @t? Have you verified that it contains what you want? Perl starts counting array indices at 0. Are you sure that the data in the eighth column is what you want?

      Yes the data in the 8th column that shows "HIGH", "LOW", "LRR"

        Why don't you print out the contents of $t[7] and see what you really are getting? Or use the built-in debugger.