Data::Denter

An (deprecated) alternative to Data::Dumper and Storable
Download

Data::Denter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Ingy d%uFFFDt Net
  • Publisher web site:
  • http://search.cpan.org/~ingy/

Data::Denter Tags


Data::Denter Description

An (deprecated) alternative to Data::Dumper and Storable The Data::Denter module was a good idea for many reasons. In May 2001, the module got noticed by a couple of brilliant people who were working on a project called YAML (YAML Ain't Markup Language). They asked me to join them, and I did. Since then we have been working almost daily on this new serialization language. For much more information, see http://www.yaml.org.YAML has all the nice qualities that Data::Denter does. You should find that YAML actually improves upon Data::Denter in both readability and completeness. YAML's number one design goal is human readability.Another large benefit of YAML is that it is a programming language independent serialization language. Implementations currently exist for Perl, Python, Ruby and Java. In addition, YAML is unicode based, has extensible typing and allows stream based processing.Data::Denter has served its purpose and is now being fully deprecated in favor of YAML.pm. I have made YAML.pm a module prerequisite for Data::Denter, so if you used the CPAN shell to install Data::Denter, you may actually already have YAML.pm installed. If you really don't want YAML on your system, Data::Denter will run fine without it.This final release of Data::Denter contains all of the patches that have been sent to me. If you really need this module patched further, I will be happy to do so. But seriously consider switching to YAML.SYNOPSIS use Data::Denter; use Data::Dumper; my $hh = bless {Easter => "Bunny", Christmas => , }, "Holiday::Hackers"; print "*** Data::Denter #1 ***\n"; print Denter $hh; print "*** Data::Dumper #1 ***\n"; print Dumper $hh; my $dented = Indent(, \3 ], {"I\nLove\n" => undef}); process($dented); sub process { my $dented = shift; my @data = Undent $dented; print "\n*** Data::Denter #2 ***\n"; print $dented; print "*** Data::Dumper #2 ***\n"; print Dumper @data; } Requirements: · Perl


Data::Denter Related Software