in reply to Re: Checking Perl version
in thread Checking Perl version

I would recommend using require 5.x over using $[. It is shorter, direct, and makes more sense when reading the code.

Also, not to be pedantic, but I think a ; is needed:

require 5.6.1;

</ajdelore>