in reply to Help in read and write to file at a same time in same file.

Try perlrun, particularly the -i and -p options.
  • Comment on Re: Help in read and write to file at a same time in same file.

Replies are listed 'Best First'.
Re^2: Help in read and write to file at a same time in same file.
by deibyz (Hermit) on Apr 04, 2011 at 16:15 UTC
    And perlvar for $^I, specially when used with @ARGV and <>