> But I keep getting "Use of uninitialized value in concatenation (.) or
> string" when I try to do something with the debug variable. How can
> $1 not be initialized? If it's matching, then it should have a value,
> no?
Possibly the reason the $1 isn't available might be related to it's an
if-grep this time instead of the more usual if-match. I'm not sure why
it matters, but I confirm a if(grep(/re(re)/,list)){ grab $1;} usage
of $1 does not work on my Perl (5.8.7) either.
--
Bill
n1vux-WYrOkVUspZo@xxxxxxxxxxxxxxxx
bill.n1vux-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
|