Skip Menu |

This queue is for tickets about the Games-Dissociate CPAN distribution.

Report information
The Basics
Id: 32690
Status: resolved
Priority: 0/
Queue: Games-Dissociate

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

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



Subject: Games-Dissociate-0.19
The function dissociate_filter() doesn't test to see if the value of the -m option has been defined before attempting to take its absolute value. Patch to fix this attached.
Subject: patch.txt
--- Games-Dissociate-0.19.original/lib/Games/Dissociate.pm Sat Jan 26 15:43:54 2008 +++ Games-Dissociate-0.19/lib/Games/Dissociate.pm Sat Jan 26 15:45:07 2008 @@ -44,7 +44,7 @@ if($_[1]) { $max = $_[1]; - } else { + } elsif ($o{'m'}){ $max = abs($o{'m'}); } $max ||= 100;
Fixed in Games::Dissociate 1.0. Thanks for the note!