diff options
author | Karl Williamson <khw@cpan.org> | 2019-12-14 13:46:51 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-07-17 22:04:08 -0600 |
commit | 1cc44f9240d8164215b8e3a56cf671c7394e791b (patch) | |
tree | 2ae4af1dae944bc66c0113997610f9058768e072 | |
parent | 39481c557611b778bea1b132f122c2991deea36b (diff) | |
download | perl-1cc44f9240d8164215b8e3a56cf671c7394e791b.tar.gz |
t/test.pl: Display an ESC control char as \e
-rw-r--r-- | t/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ eval 'sub re::is_regexp { ref($_[0]) eq "Regexp" }' # keys are the codes \n etc map to, values are 2 char strings such as \n my %backslash_escape; -foreach my $x (split //, 'nrtfa\\\'"') { +foreach my $x (split //, 'enrtfa\\\'"') { $backslash_escape{ord eval "\"\\$x\""} = "\\$x"; } # A way to display scalars containing control characters and Unicode. |