summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2013-08-25 12:23:19 +0100
committerZefram <zefram@fysh.org>2013-08-25 12:23:19 +0100
commite94bb4701fe9ef6ea7467f3fbc456bd68d184ef0 (patch)
tree64795931c7098b1c6ac62f740c81ae4abe2ce4c1 /scope.h
parent47bf465140acce46c629473db8f093e4c3ce9e09 (diff)
downloadperl-e94bb4701fe9ef6ea7467f3fbc456bd68d184ef0.tar.gz
install useful Regexp::CARP_TRACE from Carp
Regexp is a built-in class for which no module is normally loaded, so it can't provide its own CARP_TRACE method. Carp must therefore supply it. The method formats a regexp reference as a qr() expression as much as possible. Like string arg formatting, it uses \x{} escapes for literal characters that are not ASCII printable, and it truncates according to $Carp::MaxArgLen. The truncation happens at a different stage of processing from its position in string arg formatting, because regexp stringification presents an already-partly-escaped form of the regexp.
Diffstat (limited to 'scope.h')
0 files changed, 0 insertions, 0 deletions