Lines Matching full:perl
3 # Script for testing regular expressions with perl to check that PCRE2 handles
4 # them the same. For testing with different versions of Perl, if the first
5 # argument is -perl then the second is taken as the Perl command to use, and
6 # both are then removed. If the next argument is "-w", Perl is called with
9 # The Perl code has to have "use utf8" and "require Encode" at the start when
15 # Perl script to Perl through a pipe. If the next argument is "-utf8", a
18 # The remaining arguments, if any, are passed to Perl. They are an input file
20 # STDOUT. If Perl receives no arguments, it opens /dev/tty as input, and writes
24 perl=perl
28 if [ $# -gt 1 -a "$1" = "-perl" ] ; then
30 perl=$1
45 # The Perl script that follows has a similar specification to pcre2test, and so
47 # by Perl's lower case modifiers and certain other pcre2test modifiers that are
52 # dupnames ignored (Perl always allows)
59 # ucp sets Perl's /u modifier
76 # Perl double-quoted strings, so if they contain " $ or @ characters, these
78 # Perl-compatible testinput1 and testinput4 files are escaped so that they can
146 printf($outfile "Perl $^V\n\n");
245 # "ucp" asks pcre2test to set PCRE2_UCP; change this to /u for Perl
253 # Use no_start_optimize (disable PCRE2 start-up optimization) to disable Perl
286 # If the pattern is actually the null string, Perl uses the most recently
394 # By closing OUTFILE explicitly, we avoid a Perl warning in -w mode
400 ) | $perl $perlarg - $@