From b2b307a2b170755a7218703cb4f761f58270a973 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 12 Aug 2012 14:31:30 -0400 Subject: Prepend namespace to Carp subroutine calls. --- (limited to 'scripts/MarkdownBook/Document/txt.pm') 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" . -- cgit v0.9.1