in reply to Re^2: Not able to replace element value using XML::Twig
in thread Not able to replace element value using XML::Twig

Try parsefile instead of parse_file.

XML::Twig is an exceptionally well-documented CPAN module, and the parsefile method is described in its POD.

There are many ways to search for information. Just typing "xml twig parse_file" into Google returns:

Did you mean: xml twig parsefile Top 2 results shown