The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Data-Rebuilder

Like Data::Dumper. But it rebuilds more.

 * Tied variable.
 * Cycled closure.
 * Any objects , and loading its module files.

In addition, this module provides easy way to parameterize arbitrary node
of the composite.

e.g.

  use Data::Rebuilder;
  my $target = [
                 [
                   [],
                   [],
                 ],
               ];
  my $b = Data::Rebuilder->new();
  $b->parameterize( foo => \$target->[0]->[1] );
  my $src = $b->rebuilder( $target );
  my $rebuilder = eval $src;
  my $obj = $rebuilder->( foo => [ 0 ... 9 ] );
  
  use Data::Dumper;
  print Dumper $obj;

This code prints:

  $VAR1 = [
            [
              [],
              [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9,
              ]
            ]
          ];


============================================================================

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

SUPPORT AND DOCUMENTATION

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

    perldoc Data::Rebuilder

You can also look for information at:

    RT, CPAN's request tracker
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Data-Rebuilder

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Data-Rebuilder

    CPAN Ratings
        http://cpanratings.perl.org/d/Data-Rebuilder

    Search CPAN
        http://search.cpan.org/dist/Data-Rebuilder


COPYRIGHT AND LICENCE

Copyright (C) 2008 lieutar

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