in reply to Re: What is the best way to compare variables so that different types are non-equal?in thread What is the best way to compare variables so that different types are non-equal?
>perl -Mre=debug -e"qr/a/"
Compiling REx "a"
1: EXACT <a> (3)
3: END (0)
anchored "a" at 0 (checking anchored isall) minlen 1
Freeing REx: "a"
I don't know why you crossed out "compiles".
Because the docs I quoted used the term 'normalises'. Can they be both compiled and normalised? Can they be normalised and not compiled or vice versa?
Can they be both compiled and normalised?
Yes. I didn't mean to imply what you said was wrong.
Can they be normalised and not compiled or vice versa?
qr// always compiles.
qr// always returns the regex flags when used as as string.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (369 votes). Check out past polls.