[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Use not allowed error
> Here's the entire linkpt.pl code:
> ********************Start of linkpt.pl********************
> GlobalSub <<EOS
> use lib '/usr/local/cpanel/3rdpary/interchange/lib/LPERL';
> #use lib '~_~INSTALLPRIVLIB~_~';
> use lib '/usr/local/cpanel/3rdpary/interchange';
> #use lib '~_~INSTALLARCHLIB~_~';
> sub linkpt {
> use LPERL::lperl;
>
> (yada yada)
>
> EOS
> ********************End of linkpt.pl Code********************
>
If you run that code as "perl linkpt.pl" then you will get the
error you mentioned. If you want to execute what you posted as
a Perl script then remove the first line (GlobalSub <<EOS) and
the last line (EOS).
I don't see the benefit of running that code as a standalone Perl
script anyway. Just load it into Interchange as a GlobalSub and
configure it as a payment method.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/