One thing I found unsettling was running this over our CPAN install:
ack '^\s*exit\b' lib/perl5/
Admittedly, many of those were false positives, but not all of them were. This puzzles me. Even if it's clearly documented, this is a very dangerous practice. How do I cleanly write code for something which might call exit()? Do I have to remember to override exit() every time? Yuck. What this means is that the module author has taken it upon themselves to deny me control over my use of the module.
That being said, exit() isn't always evil. Just mostly evil. Sometimes you need it, but programmers reach for it more than I would like. Even if you're writing a standalone program, you usually don't need to call exit() because Perl's nice enough to pick up after itself. If you do call exit(), Perl has no choice and I, as the person writing tests, am now forced to deal with that. Yuck.
On another annoying note, I realized that my grepl software doesn't have a means of only searching code (it can search POD, heredocs, quoted strings and comments). How did I manage to overlook that?