---
name: "PDL::Perldl2::CleanErrors"
section: "3pm"
platform: "linux"
package: "libpdl-perldl2-perl"
version: "2.002-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PDL::Perldl2::CleanErrors"
---

# PDL::Perldl2::CleanErrors(3pm)

filter out Moose cruft

## NAME

PDL::Perldl2::Plugin::CleanErrors - filter out Moose cruft

## DESCRIPTION

Runtime errors in pdl2 are extremely verbose since they include the entire call chain from the start of the interactive Devel::REPL shell, through the Moose and Class::MOP stuff and including Lexical::Persistence as well.  This plugin, which is loaded by default, strips out the non-PDL stuff to make the error messages much more concise.

## SEE ALSO

`"Devel::REPL"`

## AUTHOR

Chris Marshall, `"<chm at cpan dot org>"`

## COPYRIGHT AND LICENSE

Copyright (C) 2011 by Christopher Marshall

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
