May 9, 2002, 9:19 AM
Post #4 of 6
Re: [Knoxy] Can't locate object method "" via package ""
[In reply to]
I think I found some of the other errors.
Line 1 of MerchantAPI.pm reads:
It should be:
Line 13 of client.pl reads:
my @totOrder = create_order_html($pspId,$merchantID,orderNo,$amount,$currency);
It should read:
my @totOrder = create_order_html($pspId,$merchantID,$orderNo,$amount,$currency);
Then, you should be okay. Still do no dereferencing of the MerchantAPI
methods. They are now really imported because of the fix to the
package call in the .pm file.
Let me know if you have any other problems.
print unpack"u*",pack "h*",$a,"\n\n";