PERL_VERSION gives the version, but not the build number

        e.g. 5.00503 rather than 522

I'm looking for the 522.

Thanks

-----Original Message-----
From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]] 
Sent: 28 August 2002 14:34
To: [EMAIL PROTECTED]
Subject: AMENDMENT: How to find out the Perl build, not the version?


>From perlvar:

    $PERL_VERSION
    $^V     The revision, version, and subversion of the Perl
interpreter,
            represented as a string composed of characters with those
            ordinals. Thus in Perl v5.6.0 it equals "chr(5) . chr(6) .
            chr(0)" and will return true for "$^V eq v5.6.0". Note that the
            characters in this string value can potentially be in Unicode
            range.

            This can be used to determine whether the Perl interpreter
            executing a script is in the right range of versions.
(Mnemonic:
            use ^V for Version Control.) Example:

                warn "No \"our\" declarations!\n" if $^V and $^V lt v5.6.0;

            See the documentation of "use VERSION" and "require VERSION" for
            a convenient 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 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 line and do some massaging...

-----Original Message-----
From: Smith, 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 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 use only. It may contain sensitive and private 
proprietary or legally privileged information. No confidentiality or privilege is 
waived or lost by any mistransmission. If you are not the intended recipient, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON 
or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve 
the right to monitor all e-mail communications through its networks. Any views 
expressed in this message are those of the individual sender, except where the message 
states otherwise and the sender is authorized to state them to be the views of any 
such entity. Unless otherwise stated, any pricing information given
in this message is indicative only, is subject to change and does not constitute an 
offer to deal at any price quoted. Any reference to the terms of executed transactions 
should be treated as preliminary only and subject to our formal written confirmation.


_______________________________________________
Perl-Win32-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

This message is for the named person's use only. It may contain sensitive and private 
proprietary or legally privileged information. No confidentiality or privilege is 
waived or lost by any mistransmission. If you are not the intended recipient, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON 
or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve 
the right to monitor all e-mail communications through its networks. Any views 
expressed in this message are those of the individual sender, except where the message 
states otherwise and the sender is authorized to state them to be the views of any 
such entity.
Unless otherwise stated, any pricing information given in this message is indicative 
only, is subject to change and does not constitute an offer to deal at any price 
quoted. Any reference to the terms of executed transactions should be treated as  
preliminary only and subject to our formal written confirmation.


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to