Hi,
I would also use my ($subject) = $line =~ ... It's cleaner than making the person examine the regex...
Regards,
In reply to Re^3: Problem with $1 by fmerges in thread Problem with $1 by w3b