[ic] mv_credit_card_reference

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Tue Oct 16 16:44:00 2001


cfm@maine.com writes:

> On Tue, Oct 16, 2001 at 09:00:15PM +0200, Javier Martin wrote:
> > > > UserTag web-service Routine <<EOR
> > > > sub {
> > > >
> > > >     my ($url, $code, $message, $data) = @_;
> > > >
> > > >     eval {
> > > >         require LWP::UserAgent;
> > > >         require HTTP::Request::Common;
> > > >     };
> > >
> > > Here is your problem. You can't do a runtime require under Safe.
> > 
> > I've taken them out and placed in interchange.cfg but still the same
> > problem. Actually the problem occurs somewhere inside the call to
> > HTTP::Request::Common::POST, so I think that somewhere in the LWP library
> > they require a module in runtime. This looks more difficult to solve, and
> > Christopher's idea of a separate process starts making sense to me.
> 
> LWP and HTTP 'use' a raft of other modules.  Find out what they are 
> and you should be able to make it work.  Tag or not, write it so
> you can test/develop it externally.  Performance will be much better
> if it is built in and that might matter.  Will 'wget' do?

Speaking of that, it would be nice to have an external interface
(probably via a Perl module) to IC functionalities without running
an server.

Ciao
        Racke

-- 
Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)