in reply to Checking Perl version

eval { require 5.6.1; }; warn "You do not have the current version of perl." if ($@);
Although if you plan on exiting, you might as well just do:
use 5.6.1;
or:
require 5.6.1;
And let Perl do the rest of the work (it die()'s if the verion of Perl on that machine is less than the one you specify).

(BTW, I believe 5.8.x is the "current" version of Perl, not 5.6.1).