From 7df405a3c1d9d667265a03cf5a7a520380a5bc9d Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Feb 2002 22:16:08 +0000 Subject: 5.005-safe --- LinkPoint.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'LinkPoint.pm') 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->{$_}; }"; } } -- cgit v1.2.1