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


in reply to Re: conditional self-execution
in thread conditional self-execution

First, it's not common. I personally only use it for tinkering but I don't publish that code. A few people use it as a place to put their unit tests, though that's still unusual.