summaryrefslogtreecommitdiffstats
path: root/scripts/MarkdownBook/Document/txt.pm
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-12 14:31:30 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-12 14:31:30 (EDT)
commitb2b307a2b170755a7218703cb4f761f58270a973 (patch)
tree55e18d18f15b34333e9a5be2d2b24b46fae68d43 /scripts/MarkdownBook/Document/txt.pm
parentd193dc32b3372bcff98222d12480376e15ab315e (diff)
Prepend namespace to Carp subroutine calls.
Diffstat (limited to 'scripts/MarkdownBook/Document/txt.pm')
-rw-r--r--scripts/MarkdownBook/Document/txt.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/MarkdownBook/Document/txt.pm b/scripts/MarkdownBook/Document/txt.pm
index 3ffd9cd..f150477 100644
--- a/scripts/MarkdownBook/Document/txt.pm
+++ b/scripts/MarkdownBook/Document/txt.pm
@@ -30,7 +30,8 @@ sub output
open($out_fh, '>',
$self->{'book'}->dir() . '/' . $self->{'file'} . '.txt')
- or croak('Cannot open "' . $self->{'file'} . '" destination document');
+ or Carp::croak('Cannot open "' . $self->{'file'} .
+ '" destination document');
# Print document title.
print($out_fh $self->{'title'} . "\n" .