/[pcre]/code/trunk/doc/perltest.txt
ViewVC logotype

Diff of /code/trunk/doc/perltest.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC revision 63 by nigel, Sat Feb 24 21:40:03 2007 UTC
# Line 13  for perltest as well as for pcretest, an Line 13  for perltest as well as for pcretest, an
13  as /A that pcretest recognizes are not used in these files. The output should  as /A that pcretest recognizes are not used in these files. The output should
14  be identical, apart from the initial identifying banner.  be identical, apart from the initial identifying banner.
15    
16  For testing UTF-8 features, an alternative form of perltest, called perltest8,  The perltest script can also test UTF-8 features. It works as is for Perl 5.8
17  is supplied. This requires Perl 5.6 or higher. It recognizes the special  or higher. It recognizes the special modifier /8 that pcretest uses to invoke
18  modifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput5  UTF-8 functionality. The testinput5 file can be fed to perltest to run UTF-8
19  file can be fed to perltest8.  tests.
20    
21    For Perl 5.6, perltest won't work unmodified for the UTF-8 tests. You need to
22    uncomment the "use utf8" lines that it contains. It is best to do this on a
23    copy of the script, because for non-UTF-8 tests, these lines should remain
24    commented out.
25    
26  The testinput2 and testinput4 files are not suitable for feeding to perltest,  The testinput2 and testinput4 files are not suitable for feeding to perltest,
27  since they do make use of the special upper case modifiers and escapes that  since they do make use of the special upper case modifiers and escapes that
# Line 26  them correctly. Similarly, testinput6 te Line 31  them correctly. Similarly, testinput6 te
31  to Perl.  to Perl.
32    
33  Philip Hazel <ph10@cam.ac.uk>  Philip Hazel <ph10@cam.ac.uk>
34  August 2000  August 2002

Legend:
Removed from v.49  
changed lines
  Added in v.63

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12