in reply to Re^2: Reading an XML tag in Perl
in thread Reading an XML tag in Perl

Try this
if ($file->{toolOutput}{xmlns} eq '') { print "Nothing"; next; } if ($file->{toolOutput}{xmlns} eq 'TIFF') { print "TIFF"; next; }
Any way are you validating XML. If not why module we can easily do it in REGEX.

Replies are listed 'Best First'.
Re^4: Reading an XML tag in Perl
by locked_user sundialsvc4 (Abbot) on Apr 08, 2011 at 17:10 UTC

    If module, why regex?