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.
After it's Turing complete, everything else is just syntactic sugar.
|
---|
In Section
Seekers of Perl Wisdom
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.
|
---|