< Home - < Back

perl-Test-XML


Information about the package, perl-Test-XML, which is shipped with common Linux distributions. The perl-Test-XML package is designed for, Compare XML in perl tests.


Package Name:

perl-Test-XML

Summary:

Compare XML in perl tests

Description:

This module contains generic XML testing tools. Functions include: is_xml(GOT, EXPECTED [, TESTNAME ]) This function compares GOT and EXPECTED, both of which are strings of XML. The comparison works semantically and will ignore differences in syntax that are meaningless in xml, such as different quote characters for attributes, order of attributes or empty tag styles. It returns true or false, depending upon test success. isnt_xml(GOT, MUST_NOT_BE [, TESTNAME ]) This function is similiar to is_xml(), except that it will fail if GOT and MUST_NOT_BE are identical. is_well_formed_xml(XML [, TESTNAME ]) This function determines whether or not a given XML string is parseable as XML. is_good_xml(XML [, TESTNAME ]) This is an alias for is_well_formed_xml().

Architecture:

noarch

Version:

0.08

Release:

2.el6

Size:

24 k

Repository:

epel

From Repository:

Licence:

GPL+ or Artistic



Handy Yum Commands for perl-Test-XML


Control the perl-Test-XML package with the following handy commands outlined below.


Command

Description of Command

yum install perl-Test-XML

This command will install perl-Test-XML on the server.

yum remove perl-Test-XML

This command will un-install perl-Test-XML on the server. When you run this command, you will be asked if you are sure that you want to remove perl-Test-XML, so you have to manually confirm that you want to do this.

yum -y remove perl-Test-XML

This command will un-install perl-Test-XML on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Test-XML when using the -y flag.

yum update perl-Test-XML

This command will update perl-Test-XML to the latest version. When you run this command, you will be asked if you are sure that you want to remove perl-Test-XML, so you have to manually confirm that you want to do this.

yum -y update perl-Test-XML

This command will update perl-Test-XML to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Test-XML when using the -y flag.

yum info perl-Test-XML

This command will show you core information about the perl-Test-XML package.

yum deplist perl-Test-XML

This command will show you the dependencies for perl-Test-XML. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update perl-Test-XML

This command will check if there is an update waiting on perl-Test-XML. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.