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

Thanks , I ran the code snippet you had posted but got the following error : Can't locate object method "parse_file" via package "XML::Twig" at ./xml_twig_test.thpl line 14. Isn't parse_file is a function which belongs to XML::LibXML package Thanks ab

  • Comment on Re^2: Not able to replace element value using XML::Twig

Replies are listed 'Best First'.
Re^3: Not able to replace element value using XML::Twig
by toolic (Bishop) on Jan 25, 2010 at 14:19 UTC
    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