Skip Menu |

This queue is for tickets about the Cache-FastMmap CPAN distribution.

Report information
The Basics
Id: 115043
Status: resolved
Priority: 0/
Queue: Cache-FastMmap

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

Bug Information
Severity: Normal
Broken in:
  • 1.45
  • 1.44
Fixed in: (no value)



Subject: Tests fail for perl 5.12.5 and earlier
Overview of reports: http://matrix.cpantesters.org/?dist=Cache-FastMmap%201.44 A fail looks like following: # Failed test 'using `Compress::Zlib` as compressor' # at t/13.t line 81. # '$VAR1 = sub { # package Cache::FastMmap; # use warnings; # use strict 'refs'; # use bytes; # &$uncompress(my $Tmp = shift @_); # }; # ' # doesn't match '(?-xism:\&\$uncompress\(my\ \$Tmp\ \=\ shift\(\)\))' Seems like different deparsing happens in older perls --- shift @_ instead of shift().
I've created P/R for this https://github.com/robmueller/cache-fastmmap/pull/8 On Fri Jun 03 16:01:01 2016, SREZIC wrote: Show quoted text
> Overview of reports: http://matrix.cpantesters.org/?dist=Cache- > FastMmap%201.44 > > A fail looks like following: > > # Failed test 'using `Compress::Zlib` as compressor' > # at t/13.t line 81. > # '$VAR1 = sub { > # package Cache::FastMmap; > # use warnings; > # use strict 'refs'; > # use bytes; > # &$uncompress(my $Tmp = shift @_); > # }; > # ' > # doesn't match '(?-xism:\&\$uncompress\(my\ \$Tmp\ \=\ > shift\(\)\))' > > Seems like different deparsing happens in older perls --- shift @_ > instead of shift().
Thanks, I've merged this on github.