Skip Menu |
 

This queue is for tickets about the IPsonar CPAN distribution.

Report information
The Basics
Id: 87298
Status: resolved
Priority: 0/
Queue: IPsonar

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.26



Subject: [PATCH] wrong return precedence
Download (untitled) / with headers
text/plain 202b
returns binds stronger than or, so the expressions after or are ignored. See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802 The distro should also contain the version. Please use `make dist`
Subject: IPsonar-returnor.patch
diff -bu lib/IPsonar.pm~ lib/IPsonar.pm --- lib/IPsonar.pm~ 2011-12-03 20:58:47.000000000 -0600 +++ lib/IPsonar.pm 2013-07-25 08:04:11.071308992 -0500 @@ -157,7 +157,7 @@ my $query = shift; my $params = shift; my $path = _get_path( $query, $params ); - return $self->{pages}->{"$path"} or + return $self->{pages}->{"$path"} || croak "Couldn't find $path in file"; }; bless $self, $class;
Thanks for the patch, I'll get that resolved in 0.26.
Fixed at 0.26.


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.