Perl-Sensitive Sunglasses | |
PerlMonks |
Re: XML cleanup - regex or ?by Utilitarian (Vicar) |
on Sep 21, 2010 at 14:44 UTC ( [id://861083]=note: print w/replies, xml ) | Need Help?? |
It sounds as though you wish to verify that the XML conforms to a particular DTD specification.
XML::Rules looks like a good fit for your needs.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|