in reply to Re: Is this a bug ?
in thread Is this a bug ?
I tried to explain with my sentence:sub xx { my ($a,$b)=@_; # some sentences later if ($b =~ /$a/) { ... } }
Please see that "r" =~ // come from "$r" =~ /$r2/ in my real program. And too if I change $r2 to "." if it is empty my program works fine.I had to use debugger to know what was happened ..
chromatic had the answer !!
Thank you very much, I will use "m//"
|
|---|