File: README

package info (click to toggle)
libautobox-dump-perl 20090426.1746-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 92 kB
  • sloc: perl: 125; makefile: 2
file content (55 lines) | stat: -rw-r--r-- 1,036 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
autobox-dump

autobox::dump pragma adds, via the autobox pragma, a method to 
normal expression (such as scalars, arrays, hashes, math, literals, etc.)
that produces a human/perl readable representation of the value of that
expression. 

    use autobox::dump;

    my $foo = "foo";
    print $foo->perl;   #"foo";

    print +(5*6)->perl; #30;

    my @a = (1..3);

    print @a->perl;
    #[
    # 1,
    # 2,
    # 3
    #];

    print {a=>1, b=>2}->perl;
    #{
    #  "a" => 1,
    #  "b" => 2
    #};

INSTALLATION

To install this module, run the following commands:

	perl Build.PL
	./Build
	./Build test
	./Build install

SUPPORT AND DOCUMENTATION

Please report any bugs or feature requests to 
http://github.com/cowens/autobox-dump/issues

After installing, you can find documentation for this module with the
perldoc command.

    perldoc autobox::dump

COPYRIGHT AND LICENCE

Copyright (C) 2009 Chas. J Owens IV

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.