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;