I am using the XML:
arser to parse through a file, which works fine. However the second time (within the same script) that the subroutine containing the XML:
arser is called, it always returns the same as the first query. All the varaibles are reset except the parser. The subroutine for parsing the xml code contains this:
Is there any way to kill the $parser variable off to allow it to be created again for a clean run?
Thanks,
Code:
use XML::Parser;
my $parser = new XML::Parser ();
Is there any way to kill the $parser variable off to allow it to be created again for a clean run?
Thanks,