1XXX(3) User Contributed Perl Documentation XXX(3)
2
3
4
6 XXX - See Your Data in the Nude
7
9 use XXX;
10 XXX my $dog = Dog->new({has => ['fleas', 'style']});
11 my $dog = XXX Dog->new({has => ['fleas', 'style']});
12 my $dog = Dog->new(XXX {has => ['fleas', 'style']});
13 my $dog = Dog->new({XXX has => ['fleas', 'style']});
14 my $dog = Dog->new({has => XXX ['fleas', 'style']});
15 my $dog = Dog->new({has => [XXX 'fleas', 'style']});
16
18 XXX.pm exports a function called XXX that you can put just about
19 anywhere in your Perl code to make it die with a YAML dump of the
20 arguments to its right.
21
22 The charm of XXX-debugging is that it is easy to type and rarely
23 requires parens and stands out visually so that you remember to remove
24 it.
25
26 XXX.pm also exports WWW, YYY and ZZZ which do similar debugging things.
27
28 To use Data::Dumper instead of YAML:
29
30 use XXX -dumper;
31
33 WWW WWW will warn a dump of its arguments, and then return the original
34 arguments. This means you can stick it in the middle of
35 expressions.
36
37 mnemonic: W for warn
38
39 XXX XXX will die with a dump of its arguments.
40
41 mnemonic: XXX == Death, Nudity
42
43 YYY YYY will print a dump of its arguments, and then return the
44 original arguments. This means you can stick it in the middle of
45 expressions.
46
47 mnemonic: YYY == Why Why Why??? or YAML YAML YAML
48
49 ZZZ ZZZ will Carp::confess a dump of its arguments.
50
51 mnemonic: You should confess all your sins before you sleep.
52 zzzzzzzz
53
55 At this time CPAN indexes XXX.pm to some other module distribution that
56 doesn't even have an XXX.pm module. Oh the wonders of CPAN. To install
57 this module, ask for YYY.pm instead. Something like this should work:
58
59 sudo cpan YYY
60
61 This will install XXX.pm and YYY.pm (which is an exact copy of XXX.pm).
62 You can use either one. :)
63
65 Ingy doet Net <ingy@cpan.org>
66
68 Copyright (c) 2006, 2008. Ingy doet Net.
69
70 This program is free software; you can redistribute it and/or modify it
71 under the same terms as Perl itself.
72
73 See <http://www.perl.com/perl/misc/Artistic.html>
74
75
76
77perl v5.12.0 2008-06-03 XXX(3)