Perhaps your regular expression is not matching anything, leaving $1 uninitialized?
non-Perl: Andy Ford
In reply to Re: problems with global $1
by andyford
in thread problems with global $1
by neo1491
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |