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.
In reply to Re^3: Extracting data from each line that matches a email address from a Log file (Tab delimited)
by GrandFather
in thread Extracting data from each line that matches a email address from a Log file (Tab delimited)
by Motomo94
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |