in reply to Is this normal
a non-match does not return 0. It returns the empty string
$ perl5140 -MDevel::Peek -e 'Dump scalar(/x/)'
SV = PVNV(0x275ee10) at 0xa26500
REFCNT = 2147483647
FLAGS = (IOK,NOK,POK,READONLY,pIOK,pNOK,pPOK)
IV = 0
NV = 0
PV = 0x275ee00 ""\0
CUR = 0
LEN = 16
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (169 votes). Check out past polls.