Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Business::OnlinePayment redefined subroutines, or the little module that doesn't like being used twice

by perrin (Chancellor)
on Oct 03, 2002 at 19:38 UTC ( [id://202626]=note: print w/replies, xml ) Need Help??


in reply to Business::OnlinePayment redefined subroutines, or the little module that doesn't like being used twice

These look like constant subs being redefined. I think that problem was fixed in later versions of Perl. It shouldn't cause a problem.

UPDATE: I just looked at the code and I see the problem. Business::OnlinePayment defines some subs using a routine called "build_subs", but doesn't check to see if they have been defined first. It shouldn't do that. Looks like it expected to run in a CGI environment and not be instantiated twice. This won't cause problems, but it will cause warnings. It would be easy to fix, by making minor changes to the new() sub in Business::OnlinePayment.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://202626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found