develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH 2 of 3] $] is deprecated - EXTERMINATE, EXTERMINATE, EXTERMINATE

Thread Previous | Thread Next
From:
Robin Barker
Date:
August 23, 2001 07:06
Subject:
Re: [PATCH 2 of 3] $] is deprecated - EXTERMINATE, EXTERMINATE, EXTERMINATE
Message ID:
200108231406.PAA12960@tempest.npl.co.uk
> From perl5-porters-return-42440-rmb1=cise.npl.co.uk@perl.org  Thu Aug 23 14:45:13> Keep in mind that $^V is not directly printable.  This should probably be
> something like
> 
> ok 26, $^V ge 5.3.190, join('.', unpack 'C*', $^V)

I think that's what we have %vd for:

	ok 26, $^V ge 5.3.190, sprintf "%vd", $^V

> except, of course, that this won't do the right thing for subversions
> greater than 255.  (Have I mentioned lately how much I dislike version
> strings?)

I can see why!

Robin

-- 
Robin Barker                        | Email: Robin.Barker@npl.co.uk
CMSC, Building 10,                  | Phone: +44 (0) 20 8943 7090
National Physical Laboratory,       | Fax:   +44 (0) 20 8977 7091
Teddington, Middlesex, UK. TW11 OLW | WWW:   http://www.npl.co.uk

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About