I
++imanshu
1 if ('abc' =~ 'ab')
2 {
3 print 'hello, world'
4 }
The snippet above prints 'hello, world' even though the RHS of =~
isn't inside // or m{}.
I have some legacy code which does a lot of this. Could you point me
to the official behaviour of such expressions in RHS, please.
Thank You,
Himanshu
2 {
3 print 'hello, world'
4 }
The snippet above prints 'hello, world' even though the RHS of =~
isn't inside // or m{}.
I have some legacy code which does a lot of this. Could you point me
to the official behaviour of such expressions in RHS, please.
Thank You,
Himanshu