diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2010-06-30 13:48:33 -0600 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2010-07-04 21:43:41 +0100 |
commit | da85ecb8100a34ccc17636776871fafc7a2853bf (patch) | |
tree | 5bb37d362942f5a446c1e0e99f944699d30b97f1 /lib/charnames.t | |
parent | a0a3bc7f5db576e1b626be3f469f18103ab89f87 (diff) | |
download | perl-da85ecb8100a34ccc17636776871fafc7a2853bf.tar.gz |
Add clarifying comments to charnames.t
Diffstat (limited to 'lib/charnames.t')
-rw-r--r-- | lib/charnames.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/charnames.t b/lib/charnames.t index 33d0f99563..3f6e5d9544 100644 --- a/lib/charnames.t +++ b/lib/charnames.t @@ -1,6 +1,9 @@ #!./perl use strict; +# Because \N{} is compile time, any warnings will get generated before +# execution, so have to have an array, and arrange things so no warning +# is generated twice to verify that in fact a warning did happen my @WARN; BEGIN { @@ -585,6 +588,8 @@ my @prgs; for (@prgs) { my ($code, $exp) = ((split m/\nEXPECT\n/), '$'); + + # FILE is the code that generates any abbreviations my ($prog, $fil) = ((split m/\nFILE\n/, $code), ""); my $tmpfile = tempfile(); open my $tmp, "> $tmpfile" or die "Could not open $tmpfile: $!"; |