in reply to Re: Replacing expression on certain line numbers
in thread Replacing expression on certain line numbers

++karavelov

I didn't realise how deep the magic of <> was.

perlop says:

The <> symbol will return undef for end-of-file only once. If you call it again after this, it will assume you are processing another @ARGV list, and if you haven't set @ARGV, will read input from STDIN.

Unless I state otherwise, all my code runs with strict and warnings
  • Comment on Re^2: Replacing expression on certain line numbers