You wouldn't dream of handrolling your own routine to shoot yourself in the foot due to the expeted abuse from your fellow monks for reinventing the wheel, so . . .
in reply to Shoot yourself on the foot
You search CPAN and eventually find SUICIDE:LITE which contains the sub footshoot. You download, install, read the docs and find out it only works through OO, so go lookup what -> does again, and after 6 hours you have a 37 character implementation. That is immediately trumped by somebody elses 35 character implementation which leaves out one set of supurfluous perens.