http://www.perlmonks.org?node_id=1005601


in reply to Re^5: How to print the lines immediately above and below a matching line?
in thread How to print the lines immediately above and below a matching line?

I'm not talking about this program specifically, I was simply responding to the "a waste of memory" statement.

Yes, you were purposefully being obtuse -- sure memory is free and there to be used, but so what? doesn't mean every little program should slurp files for the fun of it to avoid an extra 5 lines of code

  • Comment on Re^6: How to print the lines immediately above and below a matching line?