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


in reply to Re^2: simple regex question
in thread simple regex question

You're absolutely correct. It's in there because it's part of a template I use for everything I write. Just habit, I suppose.

I also agree that $| = 1 is more legible. But people who know about removing obscure, needless lines from programs will also know what it means. This too is just another habit - which even perlcritic doesn't complain about.