This module currently gives the following warning:
Use of uninitialized value in pattern match (m//) at
/usr/local/lib/perl5/site_perl/5.8.8/WWW/Salesforce/Simple.pm line 35.
The attached patch fixes it.
Subject: | Simple.pm.patch |
--- /home/will/Simple.pm Tue Sep 9 16:44:21 2008
+++ /home/will/Simple.pm.new Tue Sep 9 16:45:28 2008
@@ -33,7 +33,7 @@
}
$limit = 2000
- unless $limit =~ m/^\d+$/ and $limit > 0 and $limit < 2001;
+ unless defined $limit and $limit =~ m/^\d+$/ and $limit > 0 and $limit < 2001;
my @rows = (); #to be returned