$found = scalar grep { /^\Q$name\|/i } ; #### while () { $found = 1 if /^\Q$name\|/i } #### 2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$