summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-02-27 23:28:28 +0000
committerivan <ivan>2002-02-27 23:28:28 +0000
commit905c3c508e85c7baf978bf5099142322d660e585 (patch)
treec94bfe2628042d086c520b94b68912a3265043b6
parent7df405a3c1d9d667265a03cf5a7a520380a5bc9d (diff)
quiet "Use of uninitialized value" warnings from lperl.pmhelp
-rw-r--r--Changes1
-rw-r--r--LinkPoint.pm8
2 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index 5fd9421..7d5b105 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Revision history for Perl extension Business::OnlinePayment::LinkPoint.
0.02 unreleased
+ - quiet "Use of uninitialized value" warnings from lperl.pm
- eliminate warnings about redefined subroutines (and do so in a
5.005-friendly way)
- better URLs for linkpoint perl wrapper
diff --git a/LinkPoint.pm b/LinkPoint.pm
index 22815c3..17cab8e 100644
--- a/LinkPoint.pm
+++ b/LinkPoint.pm
@@ -1,6 +1,6 @@
package Business::OnlinePayment::LinkPoint;
-# $Id: LinkPoint.pm,v 1.4 2002-02-27 22:16:08 ivan Exp $
+# $Id: LinkPoint.pm,v 1.5 2002-02-27 23:28:28 ivan Exp $
use strict;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
@@ -150,7 +150,11 @@ sub submit {
#print "$_ => $post_data{$_}\n" foreach keys %post_data;
- my %response = $lperl->$action(\%post_data);
+ my %response;
+ {
+ local($^W)=0;
+ %response = $lperl->$action(\%post_data);
+ }
if ( $response{'statusCode'} == 0 ) {
$self->is_success(0);