in reply to Not able to replace element value using XML::Twig
Your script seems to work fine. When I ran it, the substitution took place.
I don't know if there is a difference between $root->print and $twig->print, example code in the docs uses the latter but it didn't have any effect on my test runs. If you still have problems, you might use $twig just to be sure (even though I doubt it has something to do with it)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not able to replace element value using XML::Twig
by newbie_ab (Novice) on Jan 25, 2010 at 13:52 UTC | |
by jethro (Monsignor) on Jan 25, 2010 at 14:12 UTC | |
by newbie_ab (Novice) on Jan 28, 2010 at 22:39 UTC | |
by jethro (Monsignor) on Jan 29, 2010 at 03:01 UTC | |
by newbie_ab (Novice) on Jan 29, 2010 at 21:18 UTC | |
|