The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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