For the problems you're having with "open", perhaps you should ask Perl to tell you what the problem is - by including $! in your error message.
For parsing and changing XML, you should probably be using an XML parsing module rather than regexes. Sounds like XML::Treebuilder would be best for this job.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Inserting Text into Files within a Directory
by davorg
in thread Inserting Text into Files within a Directory
by LF
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |