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


in reply to ActivePerl

This may seem like an obvious solution, but make sure you cd (change directory) to the directory that the script is located, then you can simply use perl example.pl, and it will work fine.

-munchie
Look ma! I'm on CPAN!