in reply to Re^2: search and replace strings in different files in a directory
in thread search and replace strings in different files in a directory

I am a bit concerned if *.xml would be interpreted correctly by a WIN/DOS system.

Good point. DOS, Windows and OS/2 leave resolving wildcards to the application, whereas Unix and friends resolve wildcards in the shell. (See also Re^3: Perl Rename.) Luckily, someone has already taken care of this: Win32::Autoglob. Win32::Autoglob also "just works" (by doing nothing) on other platforms than Windows. (Unfortunately, this means Win32::Autoglob does NOT work as expected for DOS and OS/2, but as both platforms went the way of the dodo, this does not harm many people.)

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^3: search and replace strings in different files in a directory