Disabling Perl with an Environment Variable

Want to amuse your friends and vex your co-workers? Stick this environment variable somewhere in your system:

PERL5OPT=-Mbase='base;exit'

Want to lose at all benchmarks? Change exit to sleep100000 instead. (Just don't put a space anywhere in the payload.)

Modern Perl: The Book

cover image for Modern Perl: the book

The best Perl Programmers read Modern Perl: The Book.

sponsored by the How to Make a Smoothie guide

Categories

Pages

About this Entry

This page contains a single entry by chromatic published on October 18, 2012 6:00 AM.

Test::Class versus Modern Perl OO was the previous entry in this blog.

Slow Tests are a Code Smell is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.


Powered by the Perl programming language

what is programming?