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 21, 2001 06:25
Subject:
Re: [PATCH 1 of 3] $] is deprecated - eliminate from core tests
Message ID:
3B825D54.26A51753@rowman.com
Michael G Schwern wrote:
> 
> On Mon, Aug 20, 2001 at 09:57:45PM -0400, John Peacock wrote:
> > If it was actually trying to test whether
> >
> >       $] eq sprintf("%vd",$^V)
> >
> > or something, I can see it.
> 
> That's a good test of $] and $^V.  Add that. :)
> 

OK, so that was a bad example (duh).  Teach me to not execute code 
prior to replying.  ;~(

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.

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