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

Re: [PATCH 1 of 3] $] is deprecated - eliminate from core tests

Thread Previous | Thread Next
From:
John Peacock
Date:
August 22, 2001 09:35
Subject:
Re: [PATCH 1 of 3] $] is deprecated - eliminate from core tests
Message ID:
3B83DF68.5D89DC81@rowman.com
Michael G Schwern wrote:
> 
> On Tue, Aug 21, 2001 at 09:08:36AM -0400, John Peacock wrote:
> > My point was that since $] is deprecated, it should not be used in
> > any tests except ones testing $] itself or something special about
> > $].  That comp/use.t uses $] is historical.  And, in fact, wrong.
> 
> Agreed.  Unfortunately, they're the only tests of $] we've got.  So if
> you delete those tests, you've got to add some explicit $] tests.
> 

Attached is a patch to op/ver.t to test that $] is sane (and agrees 
with $^V).

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
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