I think the replacement already happens (or should happen) in ->parsefile_inplace. The output you're seeing comes from your extra call to ->print. At least that's my understanding from looking at the implementation of ->parsefile_inplace.
I think you should see the file creation time for your file change. If you see no changes to the content, that is maybe because you haven't defined (or at least, shown) the replacement rules...
In reply to Re: XML::Twig parsefile_inplace misunderstanding
by Corion
in thread XML::Twig parsefile_inplace misunderstanding
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |