in reply to Re: inplace file editing
in thread inplace file editing

sorry, what i meant to say was
$ARGV[0]="test"; $^I=""; undef $/; while(<>) { print STDOUT "hello\n" }
(which stops hello getting printed to the file)...but it still prints twice. can ANYONE help?