in reply to Checking Perl version
use 5.6.1; if you want a check at compile time, require 5.6.1; if you want a check at run time.