in reply to Re^2: Extracting data from each line that matches a email address from a Log file (Tab delimited)
in thread Extracting data from each line that matches a email address from a Log file (Tab delimited)

Add use Data::Dumper; and update your next if ! defined $columns[20]; line to (print Dumper (\@columns)), next if ! defined $columns[20]; to see what is actually in @columns.


Perl is Huffman encoded by design.
  • Comment on Re^3: Extracting data from each line that matches a email address from a Log file (Tab delimited)
  • Select or Download Code