• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PDLPorters / pdl / 625
67%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2019 07:11AM UTC
Jobs 1
Files 106
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
625

push

travis-ci

Derek Lamb
Improve compatibility with Perl's experimental 'bitwise' feature.

Patch applied as-is, without "simply wrapping and2, or2 and xor
in an anonymous sub for overloading, as is already done with ~"

From https://rt.cpan.org/Public/Bug/Display.html?id=123901:
Perl 5.22 introduced a new ‘bitwise’ experimental feature that
splits the two behaviours of bitwise into two separate sets of
ops, effectively giving Perl three sets of bitwise ops:

  bitwise-feature: &. |. etc. (string)
  bitwise-feature: & | etc. (number)
  old bitwise ops: & | etc. (string or number)

To distinguish between the last two sets of ops, overload methods
get a fifth true argument when the ‘bitwise’ feature is enabled.
PDLs methods croak on this ‘wrong’ number of arguments.  The attached
patch fixes it, but after writing this patch I wondered whether it
wouldn’t be better simply to wrap and2, or2 and xor in an anonymous sub
for overloading, as is already done with ~.  In any case, I leave it to
you to do with this patch as you see fit. Please note that there were
no tests at all for ^ and ~ that I could find, so I added one for each.
__END_OF_PATCH_COMMENT__

8410 of 16510 relevant lines covered (50.94%)

118.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 625.1 (COVERAGE=1) 19 Jan 2019 07:11AM UTC 0
50.94
Travis Job 625.1
Source Files on build 625
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #625
  • 29b80866 on github
  • Prev Build on master (#624)
  • Next Build on master (#628)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc