Hi, I want to search for one or more "filename.mpg" from the xml files which I am parsing using XML:Simple. It may or maynot be there.
sub parsexml { my $xml=shift; my $config = XMLin($xml,keyattr=>[Name]); my $A = $config->{' X '}->{'Y'}->{'A'} ; my $B = $config->{'X'}->{'Y'}->{'B'} ; my $C = $config->{'X'}->{'Y'}->{'C'} ; my $D = $config->{'X'}->{'Y'}->{'D'} ; # Search for filename.mpg - all from the file } Please suggest.