[ic] mv_credit_card_reference

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Tue Oct 16 15:21:01 2001


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?



> 
> Javier
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux