On Wed, 10 Mar 2004, Stas Bekman wrote:
> Randy Kobes wrote:
> > Hi,
> > A recent change in Apache-Test/lib/Apache/TestRun.pm
> > involves an in-place edit, at around line 765:
[ .. ]
> > Unfortunately, Win32 can't do such in-place edits:
[ ... ]
> why not doing:
>
> local $^I = ".bak"; # windows can't do inplace edit
> local @ARGV = $config_file;
> while( <> ) {
> s/old/new/;
> print;
> }
> unlink "$config_file.bak";
>
> much simpler.
Very true ... I'll make that change - thanks!
--
best regards,
randy