#!/usr/bin/perl use strict; use warnings; use XML::Compare tests => 2; my $xml1 = '<xml><abc> abcd </abc></xml>'; my $xml2 = '<xml><abc> abcd e </abc></xml>'; my $same = eval { XML::Compare::same( $xml1, $xml2 ); }; if ($same) { print "same" ; } else { print "different: $@"; }
In reply to Re: Comparing two xml files
by Khen1950fx
in thread Comparing two xml files
by ritvik_raj2012
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |