There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

ppe - Prettify Perl Error messages

SYNOPSIS

% perl ~/foo.pl 2>&1 | ppe
foo.pl:5: [WARN] (W) Use of uninitialized value in warn

DESCRIPTION

ppe is a prettifier for Perl error messages.

When you are writing such as following:

use strict;
use warnings;

my $str;
warn $str;

This code outputs following result:

When you are writing such as following:

use strict;
use warnings;

sub f {

This code outputs following result:

SEE ALSO

perldiag