diff options
Diffstat (limited to 'cpan/Test-Simple/lib/Test2/IPC/Driver.pm')
-rw-r--r-- | cpan/Test-Simple/lib/Test2/IPC/Driver.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpan/Test-Simple/lib/Test2/IPC/Driver.pm b/cpan/Test-Simple/lib/Test2/IPC/Driver.pm index 7f3e10b0bf..112a85d20d 100644 --- a/cpan/Test-Simple/lib/Test2/IPC/Driver.pm +++ b/cpan/Test-Simple/lib/Test2/IPC/Driver.pm @@ -2,10 +2,10 @@ package Test2::IPC::Driver; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; -use Carp qw/confess longmess/; +use Carp qw/confess/; use Test2::Util::HashBase qw{no_fatal}; use Test2::API qw/test2_ipc_add_driver/; @@ -45,7 +45,8 @@ sub abort { sub abort_trace { my $self = shift; my ($msg) = @_; - $self->abort(longmess($msg)); + # Older versions of Carp do not export longmess() function, so it needs to be called with package name + $self->abort(Carp::longmess($msg)); } 1; |