Consider your variables are separated by space, then you can try like,
use strict; while(<DATA>){ chomp; print "IN:$&\n" if($_ =~/\s[^\s]+\s[^\s]+$/); }
Punitha
In reply to Re: Question on File position, pulling words
by Punitha
in thread Question on File position, pulling words
by taints169
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |