SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
devel/p5-Data-Dumper-Concise/pkg/DESCR
Normal file
22
devel/p5-Data-Dumper-Concise/pkg/DESCR
Normal file
|
@ -0,0 +1,22 @@
|
|||
This module always exports a single function, Dumper, which can be
|
||||
called with an array of values to dump those values.
|
||||
|
||||
It exists, fundamentally, as a convenient way to reproduce a set
|
||||
of Dumper options that we've found ourselves using across large
|
||||
numbers of applications, primarily for debugging output.
|
||||
|
||||
The principle guiding theme is "all the concision you can get while
|
||||
still having a useful dump and not doing anything cleverer than
|
||||
setting Data::Dumper options" - it's been pointed out to us that
|
||||
Data::Dump::Streamer can produce shorter output with less lines of
|
||||
code. We know. This is simpler and we've never seen it segfault.
|
||||
But for complex/weird structures, it generally rocks. You should
|
||||
use it as well, when Concise is underkill. We do.
|
||||
|
||||
Why is deparsing on when the aim is concision? Because you often
|
||||
want to know what subroutine refs you have when debugging and because
|
||||
if you were planning to eval this back in you probably wanted to
|
||||
remove subrefs first and add them back in a custom way anyway. Note
|
||||
that this -does- force using the pure perl Dumper rather than the
|
||||
XS one, but I've never in my life seen Data::Dumper show up in a
|
||||
profile so "who cares?".
|
10
devel/p5-Data-Dumper-Concise/pkg/PLIST
Normal file
10
devel/p5-Data-Dumper-Concise/pkg/PLIST
Normal file
|
@ -0,0 +1,10 @@
|
|||
${P5SITE}/Data/
|
||||
${P5SITE}/Data/Dumper/
|
||||
${P5SITE}/Data/Dumper/Concise/
|
||||
${P5SITE}/Data/Dumper/Concise.pm
|
||||
${P5SITE}/Data/Dumper/Concise/Sugar.pm
|
||||
${P5SITE}/Devel/
|
||||
${P5SITE}/Devel/Dwarn.pm
|
||||
@man man/man3p/Data::Dumper::Concise.3p
|
||||
@man man/man3p/Data::Dumper::Concise::Sugar.3p
|
||||
@man man/man3p/Devel::Dwarn.3p
|
Loading…
Add table
Add a link
Reference in a new issue