Steven Manross wrote:
> Maybe someone can improve on this... (this was the only way I could figure
> out how to get it to work within one of my scripts.)
>
> $activestate_perl_ver =
> "v".ord(substr($^V,0,1)).".".ord(substr($^V,1,1)).".".ord(substr($^V,2,1));
>
> print "$activestate_perl_ver\n"
";
-Original Message-
From: Carl Jolley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 8:28 PM
To: Stovall, Adrian M.
Cc: [EMAIL PROTECTED]
Subject: RE: How to find out the Perl build, not the version?
On Wed, 28 Aug 2002, Stovall, Adrian M. wrote:
> Do "p
ECTED]
Subject: RE: How to find out the Perl build, not the version?
Do "perl -V", instead of "perl -v" (capitalize the "v"). The first line should read
something like:
"Summary of my perl5 (revision 5 version 6 subversion 1) configuration:"
Grab that
t way to fail if the running Perl interpreter is too
old.
See also "$]" for an older representation of the Perl version.
-Original Message-
From: Stovall, Adrian M.
Sent: Wednesday, August 28, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: RE: How to
erpreter is
too
old.
See also "$]" for an older representation of the Perl
version.
-Original Message-
From: Stovall, Adrian M.
Sent: Wednesday, August 28, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: RE: How to find out the Perl build, not the version?
, Barry [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 8:14 AM
To: [EMAIL PROTECTED]
Subject: How to find out the Perl build, not the version?
I can get the build version by looking at $], but I'm interested in the
actual build version as in 522?
Are there any special variable
I can get the build version by looking at $], but I'm interested in the actual build
version as in 522?
Are there any special variable that I can access?
Any suggestions on how I can find this apart from doing perl -v and parsing out the
build number?
This message is for the named person's u