Data::Printer(3)
π NAME π
okay so this page is <pink>Data::Printer(3)</pink>, from that User Contributed Perl Documentation corner of the manual, and it's literally just this:
Data::Printer β colored & full-featured pretty print of Perl data structures and objects π
like, that's the whole pitch. no cap.
β¨ SYNOPSIS β¨
so you wanna actually see what's inside a variable, in a complete, colored, human-friendly way? say less bestie π
use DDP; # same as 'use Data::Printer'
p $some_var;
p $some_var, as => "This label will be printed too!";
# no need to use '\' before arrays or hashes!
p @array;
p %hash;
# printing anonymous array references:
p [ $one, $two, $three ]->@*; # perl 5.24 or later!
p @{[ $one, $two, $three ]}; # same, older perls
&p( [ $one, $two, $three ] ); # same, older perls
# printing anonymous hash references:
p { foo => $foo, bar => $bar }->%*; # perl 5.24 or later!
p %{{ foo => $foo, bar => $bar }}; # same, older perls
&p( { foo => $foo, bar => $bar } ); # same, older perls
those snippets above will print the contents of whichever variables you picked to STDERR on your terminal, with colors and a few extra features that help you debug your code. π«Ά
and if you wanna grab the output and handle it yourself, just call np():
my $dump = np $var;
die "this is what happened: " . np %data;
np() is literally the same as p() but it hands you back the string containing the dump instead of printing it. by default it has no colors, but you can change that easily too π
that's pretty much it :)
here's the slay part though: Data::Printer is fully customizable, even on a per-module basis! once you figure out your own preferences, you make a .dataprinter configuration file for yourself (or one for each project) and Data::Printer will automatically use it. iconic behavior, honestly. β¨
πΈ FEATURES πΈ
here's what Data::Printer offers Perl developers, out of the box:
- Variable dumps designed for easy parsing by the human brain, not a machine. π§
- Highly customizable β from indentation size to depth level. you can even rename the exported
p()function! not me renaming everythingβ¦ - Beautiful (and customizable) colors to highlight variable dumps and make issues stand out quickly on your console. comes bundled with several themes that work on light and dark terminal backgrounds, and you can create your own as well. π¨
- Filters for specific data structures and objects to make debugging much, much easier. includes filters for many popular classes from CPAN like
JSON::*,URI,HTTP::*,LWP,Digest::*,DBIandDBIx::Class, printing what really matters to developers debugging code. it also lets you create your own custom filters easily. π - lets you inspect information that's otherwise difficult to find/debug in Perl 5, like circular references, reference counting (
refcount), weak/read-only information, overloaded operators, tainted data, ties, dual vars, even estimated data size β all to help you spot issues with your data like leaks without having to know a lot about internal data structures or install hardcore tools likeDevel::PeekandDevel::Gladiator. π - Full support for dumping perl 5.38 native classes. π
- keep your custom settings on a
.dataprinterfile that allows different options per module being analyzed! you can have one.dataprinterfile per project, or default to one in your home directory. you may also create a custom profile class with your preferences and filters and upload it to CPAN. π - output to many different targets like files, variables or open handles (defaults to STDERR). you can send your dumps to the screen or anywhere else, and customize this setting on a per-project or even per-module basis β like print everything from
Some::Moduleto adebug.logfile with extra info, and everything else to STDERR. π - Easy to learn, easy to master. seriously, the synopsis above and the customization section below cover about 90% of all use cases. π«Ά
- Works on Perl 5.8 and later. because you can't control where you debug, we try our best to be compatible with all versions of Perl 5, from the oldest available to the bleeding edge. β
- best of all? all that with No non-core dependencies. Zero. Nada. so don't worry about adding extra weight to your project, as Data::Printer can be easily added/removed. π¦
π DESCRIPTION π
okay so the ever-popular Data::Dumper is a fantastic tool β it's meant to stringify data structures in a way they're suitable for being "eval"ed back in. the thing is, a lot of people keep using it (and similar ones, like Data::Dump) to print data structures and objects on screen for inspection and debugging, and while you can use those modules for thatβ¦ it doesn't mean you should. π
this is where Data::Printer comes in. it's meant to do one thing and one thing only:
format Perl variables and objects to be inspected by a human
if you want to serialize/store/restore Perl data structures, this module will NOT help you. try Storable, Data::Dumper, JSON, or whatever. CPAN is full of such solutions! π
whenever you type "use Data::Printer" or "use DDP", we export two functions to your namespace:
π p() π
this function pretty-prints the contents of whatever variable to STDERR (by default), and will use colors by default if your terminal supports it. slay.
p @some_array;
p %some_hash;
p $scalar_or_ref;
note that anonymous structures will only work if you postderef them:
p [$foo, $bar, $baz]->@*;
you may also deref it manually:
p %{{ foo => $foo }};
or prefix p() with "&":
&p( [$foo, $bar, $baz] ); # & (note mandatory parenthesis)
you can pass custom options that will work only on that particular call:
p @var, as => "some label", colored => 0;
p %var, show_memsize => 1;
by default, p() prints to STDERR and returns the same variable being dumped. this lets you quickly wrap variables with p() without worrying about changing return values. so like, if you change this:
sub foo { my $x = shift + 13; $x }
to this:
sub foo { my $x = shift + 13; p($x) }
the function will still return $x after printing the contents. π this form of handling data even allows method chaining, so if you want to inspect what's going on in the middle of this:
$object->foo->bar->baz;
you can just add "DDP::p" anywhere:
$object->foo->DDP::p->bar->baz; # what happens to $object after ->foo?
check out the customization quick reference section below for all available options, including changing the return type, output target, and a lot more. π
π¦ np() π¦
the np() function behaves exactly like p() except it always returns the string containing the dump (so it ignores any setting regarding dump mode or destination), and contains no colors by default. in fact, the only way to force a colored np() is to pass "colored => 1" as an argument to each call. it's meant to give you an easy way to fetch the dump and send it to some unsupported target, or append it to some other text (like part of a log message). π«Ά
and bestie, we are literally just getting warmed up β the customization quick reference is next and it's giving main character energy πβ¨
π CUSTOMIZATION π
okay bestie, so there are literally 3 possible ways to customize Data::Printer:
- [RECOMMENDED] Creating a
.dataprinterfile either on your home directory or your project's base directory, or both, or wherever you set theDATAPRINTERRCenvironment variable to. - Setting custom properties on module load. This will override any setting from your config file on the namespace (package/module) it was called:
use DDP max_depth => 2, deparse => 1;
- Setting custom properties on the actual call to
p()ornp(). This overrides all other settings:
p $var, show_tainted => 1, indent => 2;
π The .dataprinter configuration file π
The most powerful way to customize Data::Printer is to have a .dataprinter file in your home directory or your project's root directory. The format is super simple and can be understood in the example below:
# global settings (note that only full line comments are accepted)
max_depth = 1
theme = Monokai
class.stringify = 0
# use quotes if you want spaces to be significant:
hash_separator = " => "
# You can set rules that apply only to a specific
# caller module (in this case, MyApp::Some::Module):
[MyApp::Some::Module]
max_depth = 2
class.expand = 0
escape_chars = nonlatin1
[MyApp::Other::Module]
multiline = 0
output = /var/log/myapp/debug.data
# use 'quiet' to silence all output from p() and np()
# called from the specified package.
[MyApp::Yet::Another]
quiet = 1
Note that if you set custom properties as arguments to p() or np(), you should group suboptions as a hashref. So while the .dataprinter file has class.expand = 0 and class.inherited = none, the equivalent code is class => { expand => 0, inherited => 'none' }.
π₯ live updating your .dataprinter without restarts π₯
Data::Printer 1.1 introduces a new live_update flag that can be set to a positive integer to enable live updates. When this mode is on, Data::Printer will check if the .dataprinter file has been updated and, if so, it will reload it. This way you can toggle features on and off and control output verbosity directly from your .dataprinter file without needing to change or restart running code.
π Properties Quick Reference π
Below are (almost) all available properties and their (hopefully sane) default values. See Data::Printer::Object for further information on each of them:
# scalar options
show_tainted = 1
show_unicode = 1
show_lvalue = 1
print_escapes = 0
scalar_quotes = "
escape_chars = none
string_max = 4096
string_preserve = begin
string_overflow = '(...skipping __SKIPPED__ chars...)'
unicode_charnames = 0
# array options
array_max = 100
array_preserve = begin
array_overflow = '(...skipping __SKIPPED__ items...)'
index = 1
# hash options
hash_max = 100
hash_preserve = begin
hash_overflow = '(...skipping __SKIPPED__ keys...)'
hash_separator = ' '
align_hash = 1
sort_keys = 1
quote_keys = auto
# general options
name = var
return_value = pass
output = stderr
use_prototypes = 1
indent = 4
show_readonly = 1
show_tied = 1
show_dualvar = lax
show_weak = 1
show_refcount = 0
show_memsize = 0
memsize_unit = auto
separator = ,
end_separator = 0
caller_info = 0
caller_message = 'Printing in line __LINE__ of __FILENAME__'
max_depth = 0
deparse = 0
alias = p
warnings = 1
# colorization (see Colors & Themes below)
colored = auto
theme = Material
# object output
class_method = _data_printer
class.parents = 1
class.linear_isa = auto
class.universal = 1
class.expand = 1
class.stringify = 1
class.show_reftype = 0
class.show_overloads = 1
class.show_methods = all
class.sort_methods = 1
class.inherited = none
class.format_inheritance = string
class.parent_filters = 1
class.internals = 1
β¨ Settings' shortcuts β¨
asβ prints a string before the dump. So:
p $some_var, as => 'here!';
is a shortcut to:
p $some_var, caller_info => 1, caller_message => 'here!';
multilineβ lets you create shorter dumps. By setting it to0, we use a single space as linebreak and disable the array index. Setting it to1(the default) goes back to using"\n"as linebreak and restore whatever array index you had originally.fulldumpβ when set to1, disables all max string/hash/array values. Use this to generate complete (full) dumps of all your content, which is trimmed by default.quietβ when set to1, disables all data parsing and returns as quickly as possible. Use this to disable all output fromp()andnp()inside a particular package, either from the 'use' call or from.dataprinter. (introduced in version 1.1)
π¦ Colors & Themes π¦
Data::Printer lets you set custom colors for pretty much every part of the content being printed. For example, if you want numbers to be shown in bright green, just put colors.number = #00ff00 on your configuration file.
See Data::Printer::Theme for the full list of labels, ways to represent and customize colors, and even how to group them in your own custom theme.
The colorization is set by the colored property. It can be set to 0 (never colorize), 1 (always colorize) or 'auto' (the default), which will colorize p() only when there is no ANSI_COLORS_DISABLED environment variable, the output is going to the terminal (STDOUT or STDERR) and your terminal actually supports colors.
πΈ Profiles πΈ
You may bundle your settings and filters into a profile module. It works like a configuration file but gives you the power and flexibility to use Perl code to find out what to print and how to print. It also lets you use CPAN to store your preferred settings and install them into your projects just like a regular dependency.
use DDP profile => 'ProfileName';
See Data::Printer::Profile for all the ways to load a profile, a list of available profiles and how to make one yourself.
π§ Filters π§
Data::Printer works by passing your variable to a different set of filters, depending on whether it's a scalar, a hash, an array, an object, etc. It comes bundled with filters for all native data types (always enabled, but overwritable), including a generic object filter that pretty-prints regular and Moo(se) objects and is even aware of Role::Tiny.
Data::Printer also comes with filter bundles that can be quickly activated to make it easier to debug binary data and many popular CPAN modules that handle date and time, databases (yes, even DBIx::Class), message digests like MD5 and SHA1, and JSON and Web content like HTTP requests and responses.
So much so we recommend everyone to activate all bundled filters by putting the following line on your .dataprinter file:
filters = ContentType, DateTime, DB, Digest, Web
Creating your custom filters is very easy, and you're encouraged to upload them to CPAN. There are many options available under the Data::Printer::Filter::* namespace. Check Data::Printer::Filter for more information!
π Making your classes DDP-aware (without adding any dependencies!) π
The default object filter will first check if the class implements a sub called '_data_printer()' (or whatever you set the class_method option to in your settings). If so, Data::Printer will use it to get the string to print instead of making a regular class dump.
This means you could have the following in one of your classes:
sub _data_printer {
my ($self, $ddp) = @_;
return 'Hey, no peeking! But foo contains ' . $self->foo;
}
Notice that you can do this without adding Data::Printer as a dependency to your project! Just write your sub and it will be called with the object to be printed and a $ddp object ready for you. See Data::Printer::Object for how to use it to pretty-print your data.
Finally, if your object implements string overload or provides a method called to_string, as_string or stringify, Data::Printer will use it. To disable this behaviour, set class.stringify = 0 on your .dataprinter file, or call p() with class => { stringify => 0 }.
Loading a filter for that particular class will of course override these settings.
π CAVEATS π
bestie, these are the βdo not do thatβ moments. Hard no energy, but with love.
You can't pass more than one variable at a time.
p $foo, $bar; # wrong
p $foo; p $bar; # right
You can't use it in variable declarations (it will most likely not do what you want):
p my @array = qw(a b c d); # wrong
my @array = qw(a b c d); p @array; # right
If you pass a nonexistent key/index to DDP using prototypes, they will trigger autovivification:
use DDP;
my %foo;
p $foo{bar}; # undef, but will create the 'bar' key (with undef)
my @x;
p $x[5]; # undef, but will initialize the array with 5 elements (all undef)
Slices (both array and hash) must be coerced into actual arrays (or hashes) to properly shown. So if you want to print a slice, instead of doing something like this:
p @somevar[1..10]; # WRONG! DON'T DO THIS!
try one of those:
my @x = @somevar[1..10]; p @x; # works!
p [ @somevar[1..0] ]->@*; # also works!
p @{[@somevar[1..0]]}; # this works too!!
Finally, as mentioned before, you cannot pass anonymous references on the default mode of use_prototypes = 1:
p { foo => 1 }; # wrong!
p %{{ foo => 1 }}; # right
p { foo => 1 }->%*; # right on perl 5.24+
&p( { foo => 1 } ); # right, but requires the parenthesis
sub pp { p @_ }; # wrapping it also lets you use anonymous data.
use DDP use_prototypes => 0;
p { foo => 1 }; # works, but now p(@foo) will fail, you must always pass a ref,
# e.g. p(\@foo)
π¨ BACKWARDS INCOMPATIBLE CHANGES π¨
okay so bestie, real talk π β the maintainers genuinely try not to break anything on new releases, but sometimes it happens anyway, no cap. So to make life easier for everyone migrating their code, they collected every incompatible change ever into one list. Here it is, in all its chaotic glory:
- 1.00 β some defaults changed! π Because we added a bunch of new features (including color themes), you may notice some difference on the default output of Data::Printer. Hopefully it's for the best.
- 1.00 β new
.dataprinterfile format. This should only affect you if you have a.dataprinterfile. The change was required to avoid callingevalon potentially tainted/unknown code. It also provided a much cleaner interface. β¨ - 1.00 β new way of creating external filters. This only affects you if you write or use external filters. Previously, the sub in your
filterscall would get the reference to be parsed and a properties hash. The properties hash has been replaced with a Data::Printer::Object instance, providing much more power and flexibility. Because of that, the filter call does not exportp()/np()anymore, replaced by methods in Data::Printer::Object. - 1.00 β new way to call filters. This affects you if you load your own inline filters. The fix is quick and Data::Printer will generate a warning explaining how to do it. Basically,
filters => { ... }becamefilters => [{ ... }]and you must replace-external => [1,2]withfilters => [1, 2], orfilters => [1, 2, {...}]if you also have inline filters. This allowed us much more power and flexibility with filters, and hopefully also makes things clearer. - 0.36 β
p()'s default return value changed from 'dump' to 'pass'. This was a very important change to ensure chained calls and to prevent weird side-effects whenp()is the last statement in a sub. Read the full discussion athttps://github.com/garu/Data-Printer/issues/16π
Any undocumented change was probably unintended. If you bump into one, please file an issue on Github! π
π TIPS & TRICKS π
Using p() in some/all of your loaded modules
(contributed by Matt S. Trout (mst))
So while you're debugging your software, you may want to use Data::Printer in some or all loaded modules and not bother having to load it in each and every one of them. The way to do this: in any module loaded by myapp.pl, simply write:
::p @myvar; # note the '::' in front of p()
Then call your program like:
perl -MDDP myapp.pl
This also has the advantage that if you leave one p() call in by accident, it will trigger a compile-time failure without the -M, making it easier to spot :) π
If you really want to have p() imported into your loaded modules, use the next tip instead.
Adding p() to all your loaded modules
(contributed by ΓrpΓ‘d SzΓ‘sz)
If you wish to automatically add Data::Printer's p() function to every loaded module in your app, you can do something like this to your main program:
BEGIN {
{
no strict 'refs';
require Data::Printer;
my $alias = 'p';
foreach my $package ( keys %main:: ) {
if ( $package =~ m/::$/ ) {
*{ $package . $alias } = \&Data::Printer::p;
}
}
}
}
WARNING β οΈ This will override all locally defined subroutines/methods that are namedp, if they exist, in every loaded module. If you already have a subroutine namedp(), be sure to change$aliasto something custom.
If you rather avoid namespace manipulation altogether, use the previous tip instead. π«Ά
Using Data::Printer from the Perl debugger
(contributed by ΓrpΓ‘d SzΓ‘sz and Marcel GrΓΌnauer (hanekomu))
With DB::Pluggable, you can easily set the perl debugger to use Data::Printer to print variable information, replacing the debugger's standard p() function. All you have to do is add these lines to your .perldb file:
use DB::Pluggable;
DB::Pluggable->run_with_config( \'[DataPrinter]' ); # note the '\'
Then call the perl debugger as you normally would:
perl -d myapp.pl
Now Data::Printer's p() command will be used instead of the debugger's! π±
See perldebug for more information on how to use the perl debugger, and DB::Pluggable for extra functionality and other plugins.
If you can't or don't want to use DB::Pluggable, or simply want to keep the debugger's p() function and add an extended version using Data::Printer (let's call it px() for instance), you can add these lines to your .perldb file instead:
$DB::alias{px} = 's/px/DB::px/';
sub px {
my $expr = shift;
require Data::Printer;
print Data::Printer::p($expr);
}
Now, inside the Perl debugger, you can pass as reference to px expressions to be dumped using Data::Printer. π
Using Data::Printer in a perl shell (REPL)
Some people really enjoy using a REPL shell to quickly try Perl code. One of the most popular ones out there are Reply and Devel::REPL. If you use them, now you can also see its output with Data::Printer! π
- Reply β Just install Reply::Plugin::DataPrinter and add a line with
[DataPrinter]to your.replyrcfile. That's it! Next time you run the 'reply' REPL, Data::Printer will be used to dump variables! - Devel::REPL β Just install Devel::REPL::Plugin::DataPrinter and add the following line to your
re.plconfiguration file (usually.re.pl/repl.rcin your home dir):
load_plugin('DataPrinter');
The next time you run re.pl, it should dump all your REPL using Data::Printer! β¨
Easily rendering Data::Printer's output as HTML
To turn Data::Printer's output into HTML, you can do something like:
use HTML::FromANSI;
use Data::Printer;
my $html_output = ansi2html( np($object, colored => 1) );
In the example above, the $html_output variable contains the HTML escaped output of p($object), so you can print it for later inspection or render it (if it's a web app). π¦
Using Data::Printer with Template Toolkit
(contributed by Stephen Thirlwall (sdt))
If you use Template Toolkit and want to dump your variables using Data::Printer, install the Template::Plugin::DataPrinter module and load it in your template:
[% USE DataPrinter %]
The provided methods match those of Template::Plugin::Dumper:
ansi-colored dump of the data structure in "myvar":
[% DataPrinter.dump( myvar ) %]
html-formatted, colored dump of the same data structure:
[% DataPrinter.dump_html( myvar ) %]
The module allows several customization options, even letting you load it as a complete drop-in replacement for Template::Plugin::Dumper so you don't even have to change your previous templates! π
Migrating from Data::Dumper to Data::Printer
If you are porting your code to use Data::Printer instead of Data::Dumper, you could replace:
use Data::Dumper;
with something like:
use Data::Printer;
sub Dumper { np @_, colored => 1 }
this sub will accept multiple variables just like Data::Dumper. π
Unified interface for Data::Printer and other debug formatters
(contributed by Kevin McGrath (catlgrep))
If you want a really unified approach to easily flip between debugging outputs, use Any::Renderer and its plugins, like Any::Renderer::Data::Printer.
Printing stack traces with arguments expanded using Data::Printer
(contributed by Sergey Aleynikov (randir))
There are times where viewing the current state of a variable is not enough, and you want/need to see a full stack trace of a function call.
The Devel::PrettyTrace module uses Data::Printer to provide you just that. It exports a bt() function that pretty-prints detailed information on each function in your stack, making it easier to spot any issues! π₯
Troubleshooting apps in real time without changing a single line of your code
(contributed by Marcel GrΓΌnauer (hanekomu))
dip is a dynamic instrumentation framework for troubleshooting Perl programs, similar to DTrace (http://opensolaris.org/os/community/dtrace/). In a nutshell, dip lets you create probes for certain conditions in your application that, once met, will perform a specific action. Since it uses Aspect-oriented programming, it's very lightweight and you only pay for what you use.
dip can be very useful since it allows you to debug your software without changing a single line of your original code. And Data::Printer comes bundled with it, so you can use the p() function to view your data structures too! ππ
# Print a stack trace every time the name is changed,
# except when reading from the database.
dip -e 'before { print longmess(np $_->{args}[1], colored => 1)
if $_->{args}[1] } call "MyObj::name" & !cflow("MyObj::read")' myapp.pl
You can check dip's own documentation for more information and options.
Sample output for color fine-tuning
(contributed by Yanick Champoux (yanick))
The examples/try_me.pl file included in this distribution has a sample dump with a complex data structure to let you quickly test color schemes. π¨
π VERSIONING AND UPDATES π
As of 1.0.0 this module complies with Major.Minor.Revision versioning scheme (SemVer), meaning backwards incompatible changes will trigger a new major number, new features without any breaking changes trigger a new minor number, and simple patches trigger a revision number. periodt. π
π CONTRIBUTORS π
okay bestie, huge thank-you to everyone who helped design and develop this module with patches, bug reports, wishlists, comments and tests. They are (alphabetically): Adam Rosenstein, Alexandr Ciornii (chorny), Alexander Hartmaier (abraxxa), Allan Whiteford, Anatoly (Snelius30), Andre KlΓ€rner, Andreas KΓΆnig (andk), Andy Bach, Anthony DeRobertis, ΓrpΓ‘d SzΓ‘sz, Athanasios Douitsis (aduitsis), Baldur Kristinsson, Benct Philip Jonsson (bpj), brian d foy, Chad Granum (exodist), Chris Prather (perigrin), Curtis Poe (Ovid), David D Lowe (Flimm), David E. Condon (hhg7), David Golden (xdg), David Precious (bigpresh), David Raab, David E. Wheeler (theory), Damien Krotkine (dams), Denis Howe, dirk, Dotan Dimet, Eden Cardim (edenc), Elliot Shank (elliotjs), Elvin Aslanov, Eugen Konkov (KES777), Fernando CorrΓͺa (SmokeMachine), Fitz Elliott, Florian Schlichting (fschlich), Frew Schmidt (frew), GianniGi, Graham Knop (haarg), Graham Todd, Gregory J. Oschwald, grr, HΓ₯kon HΓ¦gland, Iaroslav O. Kosmina (darviarush), Ivan Bessarabov (bessarabv), J Mash, James E. Keenan (jkeenan), Jarrod Funnell (Timbus), Jay Allen (jayallen), Jay Hannah (jhannah), jcop, Jesse Luehrs (doy), Joel Berger (jberger), John S. Anderson (genehack), Karen Etheridge (ether), Kartik Thakore (kthakore), Kevin Dawson (bowtie), Kevin McGrath (catlgrep), Kip Hampton (ubu), Londran, Marcel GrΓΌnauer (hanekomu), Marco Masetti (grubert65), Mark Fowler (Trelane), Martin J. Evans, Matthias Muth, Matt S. Trout (mst), Maxim Vuets, Michael Conrad, Mike Doherty (doherty), Nicolas R (atoomic), Nigel Metheringham (nigelm), Nuba Princigalli (nuba), Olaf Alders (oalders), Paul Evans (LeoNerd), Pedro Melo (melo), Philippe Bruhat (BooK), PrzemysΕaw WesoΕek (jest), Rebecca Turner (iarna), Renato Cron (renatoCRON), Ricardo Signes (rjbs), Rob Hoelz (hoelzro), Salve J. Nilsen (sjn), sawyer, Sebastian Willing (Sewi), SΓ©bastien FeugΓ¨re (smonff), Sergey Aleynikov (randir), Slaven ReziΔ, Stanislaw Pusep (syp), Stephen Thirlwall (sdt), sugyan, Tai Paul, Tatsuhiko Miyagawa (miyagawa), Thomas Sibley (tsibley), Tim Heaney (oylenshpeegul), Toby Inkster (tobyink), Torsten Raudssus (Getty), Tokuhiro Matsuno (tokuhirom), trapd00r, Tsai Chung-Kuan, Veesh Goldman (rabbiveesh), vividsnow, Wesley Dal`Col (blabos), y, Yanick Champoux (yanick).
If I missed your name, please drop me a line! π«Άπ
π LICENSE AND COPYRIGHT π
Copyright (C) 2011-2024 Breno G. de Oliveira
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See <http://dev.perl.org/licenses/> for more information. π
π‘οΈ DISCLAIMER OF WARRANTY π‘οΈ
okay and now the serious legal part, bestie β read it, donβt skip it, no cap:
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
okay thatβs the whole Data::Printer(3) page, bestie β source/version perl v5.42.0, dated 2024-01-23. now go print something gorgeous and slay β¨π
π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Data-Printer 1.002001-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms