logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Boston.pm] Regex warning: msg#00022

Subject: Re: [Boston.pm] Regex warning
> 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


<Prev in Thread] Current Thread [Next in Thread>