On Mar 16, Hendrik Maryns said:
some time ago I asked for some help to eliminate certain lines from a file. Someone suggested a solution with
{ local ( $^I, @ARGV ) = ( '', <*.log> );
now when I run this I get the error "Can't do inplace edit without backup at lexmorf_ruisweg2.pl line 12."
Windows doesn't let you do in-place editing without making a backup file. Therefore, $^I can't be "". Make it ".bak", and you'll be fine.
-- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? http://www.perlmonks.org/ % -- Meister Eckhart
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>