Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Constant CPAN distribution.

Report information
The Basics
Id: 74803
Status: resolved
Priority: 0/
Queue: Constant

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.21
Fixed in: (no value)



Subject: t/constant.t breaks against blead
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 106
Download (untitled) / with headers
text/plain 106b
It looks like a recent typo in t/constant.t is checking $[ when it should be checking $]. Patch attached.
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1328774040-17367-173"
Message-ID: <rt-3.8.HEAD-17367-1328774040-499.74803-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Length: 0
Content-Type: text/plain
Content-Length: 0
MIME-Version: 1.0
Subject: patch.txt
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset="utf-8"; name="patch.txt"
Content-Disposition: inline; filename="patch.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 441
Download patch.txt
text/plain 441b
diff --git a/t/constant.t b/t/constant.t index d86a1eb..ba892b4 100644 --- a/t/constant.t +++ b/t/constant.t @@ -143,7 +143,7 @@ $TB->current_test($curr_test+5); SKIP: { skip $no_pseudohashes, 1 if $no_pseudohashes; - skip "doesn't work on 5.5.x", 1 if $[ < 5.006; + skip "doesn't work on 5.5.x", 1 if $] < 5.006; eval q{ CPHASH->{bar} }; like $@, qr/^No such pseudo-hash field/, "test missing pseudo-hash field"; }
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17367-1328774369-94.74803-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 76
My bad. blead is upstream so the fix is to produce a new release from blead.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.