If I were you, I think I'd look to using File::Find where recursive file manipulation is concerned. In your use case, anyway. I'd also look to chomping the files, to run against your RE's. As I read your example. I don't think you'll get what you're after, unless you do. Using chomp you'll get the files, line-by-line.
Best wishes.
--Chris
¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
In reply to Re: How to run multiple xml in a directory on a single perl script
by taint
in thread How to run multiple xml in a directory on a single perl script
by Siegfried_13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |