Initial Commit
This commit is contained in:
32
database/perl/vendor/lib/DDP.pm
vendored
Normal file
32
database/perl/vendor/lib/DDP.pm
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
package DDP;
|
||||
use strict;
|
||||
use warnings;
|
||||
use Data::Printer;
|
||||
|
||||
BEGIN {
|
||||
push our @ISA, 'Data::Printer';
|
||||
our $VERSION = $Data::Printer::VERSION;
|
||||
}
|
||||
1;
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
DDP - Data::Printer shortcut for faster debugging
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use DDP; p $my_data;
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Tired of typing C<use Data::Printer> every time? C<DDP> lets you quickly call
|
||||
your favorite variable dumper!
|
||||
|
||||
It behaves exactly like L<Data::Printer> - it is, indeed, just an alias to it :)
|
||||
|
||||
Happy debugging!
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<Data::Printer>
|
||||
Reference in New Issue
Block a user