0 string eval\ "exec\ /usr/local/bin/perl perl script text executable
0 string eval\ '(exit\ $?0)'\ &&\ eval\ 'exec perl script text
+
# by Dmitry V. Levin and Alexey Tourbin
# check the first line
0 string package
->1 regex \^.{7}[\ \t]+[A-Za-z_]
->>1 regex \^.{9}[\ \t]*[0-9A-Za-z_:]*\ *; Perl5 module source text
+>1 regex \^package[\ \t]+[A-Za-z_]
+>>1 regex \^package[\ \t]+[0-9A-Za-z_:]*\ *; Perl5 module source text
# not 'p', check other lines
0 byte !0x70
>0 regex \^package[\ \t]+[0-9A-Za-z_:]+\ *;
->>0 regex \^1\ *;|\^(use|sub|my)\ .*[(;{=3D] Perl5 module source text
+>>0 regex \^1\ *;|\^(use|sub|my)\ .*[(;{=] Perl5 module source text
+
# Perl POD documents