in reply to Re: inplace file editingin thread inplace file editing
$ARGV[0]="test"; $^I=""; undef $/; while(<>) { print STDOUT "hello\n" } [download]