What do you mean field? col?
?? does this help Identifying the position of match using regular expressions
if ($data1 =~ /Item | volume/) { ...
that can only match item or volume, not both
In reply to Re: finding the field number of a matching pattern in perl
by Anonymous Monk
in thread finding the field number of a matching pattern in perl
by Thomas Kennll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |