Just return rather than create anon sub

This commit is contained in:
Eric A. Miller
2018-03-26 23:52:31 -04:00
parent 8391cee4f3
commit eab89e4736

View File

@@ -3881,7 +3881,7 @@ These methods return data as a scalar.
sub _global { sub _global {
my $method = shift; my $method = shift;
my $oid = shift; my $oid = shift;
return sub {} if $method eq 'CARP_TRACE'; return if $method eq 'CARP_TRACE';
return sub { return sub {
my $self = shift; my $self = shift;