summaryrefslogtreecommitdiff
path: root/LinkPoint.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LinkPoint.pm')
-rw-r--r--LinkPoint.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/LinkPoint.pm b/LinkPoint.pm
index 7b307ff..22815c3 100644
--- a/LinkPoint.pm
+++ b/LinkPoint.pm
@@ -1,6 +1,6 @@
package Business::OnlinePayment::LinkPoint;
-# $Id: LinkPoint.pm,v 1.3 2002-02-26 08:53:52 ivan Exp $
+# $Id: LinkPoint.pm,v 1.4 2002-02-27 22:16:08 ivan Exp $
use strict;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
@@ -46,7 +46,8 @@ sub map_fields {
sub build_subs {
my $self = shift;
foreach(@_) {
- no warnings;
+ #no warnings; #not 5.005
+ local($^W)=0;
eval "sub $_ { my \$self = shift; if(\@_) { \$self->{$_} = shift; } return \$self->{$_}; }";
}
}