You need to move the capturing parens from the split to the the qr//.
I like your solution, but as noted in the original query, I can't change the split line. tye's solution is the way I've gone. It works quite nicely.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re^2: Forcing a regex to fail
by Ovid
in thread Forcing a regex to fail
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |