particle has asked for the wisdom of the Perl Monks concerning the following question:
which would say 'use 5.6.0 or higher, but don't use 5.6.1 or higher. but i'm not sure this will work, or if it's clear. i could code something like~use v5.6.0; no use v5.6.1;
which checks the version of perl and dies otherwise, but then i don't know if $^V will work correctly in earlier versions of perl, or if i should use $] as in $] eq 5.006. in this case, i don't know how 5.6.1 displays in $].die( printf("must use perl version %vd\n", $^V) ) unless $^V eq 5.6.0; # only use company standard perl 5.6.0
i have 5.6.0 installed on Win2000, and i can't install any other versions to test. go figure.
~Particle
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use _specific_ version
by bikeNomad (Priest) on Jul 09, 2001 at 19:30 UTC | |
by particle (Vicar) on Jul 09, 2001 at 19:40 UTC | |
by bikeNomad (Priest) on Jul 09, 2001 at 19:47 UTC | |
Re: use _specific_ version
by arturo (Vicar) on Jul 09, 2001 at 20:02 UTC | |
Re: use Ispecific/I version
by Malkavian (Friar) on Jul 09, 2001 at 19:19 UTC | |
by particle (Vicar) on Jul 09, 2001 at 19:26 UTC | |
(jptxs)Re: use _specific_ version
by jptxs (Curate) on Jul 09, 2001 at 20:49 UTC | |
by particle (Vicar) on Jul 09, 2001 at 21:03 UTC | |
by tilly (Archbishop) on Jul 09, 2001 at 23:04 UTC |