Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xml::dumper (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Dumper(3)		       User Contributed Perl Documentation			Dumper(3)

       XML::Dumper - Perl module for dumping Perl objects from/to XML

	# Convert Perl code to XML
	use XML::Dumper;
	my $dump = new XML::Dumper;
	$data = [
		   first => 'Jonathan',
		   last => 'Eisenzopf',
		   email => 'eisen@pobox.com'
		   first => 'Larry',
		   last => 'Wall',
		   email => 'larry@wall.org'
	$xml =	$dump->pl2xml($perl);

	# Convert XML to Perl code
	use XML::Dumper;
	my $dump = new XML::Dumper;

	# some XML
	my $xml = <<XML;

	# load Perl data structure from dumped XML
	$data = $dump->xml2pl($Tree);

       XML::Dumper dumps Perl data to a structured XML format.	XML::Dumper can also read XML
       data that was previously dumped by the module and convert it back to Perl.

       This is done via the following 2 methods: XML::Dumper::pl2xml XML::Dumper::xml2pl

       Jonathan Eisenzopf <eisen@pobox.com>

       Chris Thorman <ct@ignitiondesign.com> L.M.Orchard <deus_x@pobox.com> DeWitt Clinton

       perl(1), XML::Parser(3).

perl v5.8.0				    1999-06-20					Dumper(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:47 PM.