summaryrefslogtreecommitdiffstats
path: root/scripts/MarkdownBook/Document.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/MarkdownBook/Document.pm')
-rw-r--r--scripts/MarkdownBook/Document.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/MarkdownBook/Document.pm b/scripts/MarkdownBook/Document.pm
index fa47cdb..2a30396 100644
--- a/scripts/MarkdownBook/Document.pm
+++ b/scripts/MarkdownBook/Document.pm
@@ -145,7 +145,7 @@ sub parse
open($source_fh, '<',
$self->{'book'}->dir() . '/' . $self->{'file'} . '.mdwn')
- or croak('Cannot open "' . $self->{'file'} . '" source document');
+ or Carp::croak('Cannot open "' . $self->{'file'} . '" source document');
$source_text = join('', <$source_fh>);
close($source_fh);