DDP - Data::Printer shortcut for faster debugging
use DDP; p $my_data;
Tired of typing use Data::Printer every time? DDP lets you quickly call your favorite variable dumper!
use Data::Printer
DDP
It behaves exactly like Data::Printer - it is, indeed, just an alias to it :)
Happy debugging!
Data::Printer
To install Data::Printer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Printer
CPAN shell
perl -MCPAN -e shell install Data::Printer
For more information on module installation, please visit the detailed CPAN module installation guide.