I would think it be acceptable that if LWP is not found, try to fail
over to some other mechanism (wget, etc.).


> -----Original Message-----
> From: mtt-users-boun...@open-mpi.org 
> [mailto:mtt-users-boun...@open-mpi.org] On Behalf Of Ethan Mallove
> Sent: Monday, July 17, 2006 10:45 AM
> To: General user list for the MPI Testing Tool
> Subject: Re: [MTT users] adding LWP::UserAgent to MTT repository
> 
> 
> 
> Jeff Squyres (jsquyres) wrote On 07/17/06 10:13,:
> > It might be ok to adapt the module to try to "include" it 
> (vs. requiring
> > it) and if it's not there, fail over.
> > 
> > Make sense? 
> 
> 
> Do you mean adapt Perfbase.pm fail over if it can't find 
> LWP::UserAgent?  Or
> adapt LWP::UserAgent to failover if it can't find 
> HTML::HeadParser (which I
> think needs Parser.so). Or both?
> 
> 
> > 
> > 
> >>-----Original Message-----
> >>From: mtt-users-boun...@open-mpi.org 
> >>[mailto:mtt-users-boun...@open-mpi.org] On Behalf Of Ethan Mallove
> >>Sent: Monday, July 17, 2006 9:46 AM
> >>To: mtt-us...@open-mpi.org
> >>Subject: [MTT users] adding LWP::UserAgent to MTT repository
> >>
> >>I thought it would be nice to not require users to have 
> >>LWP::UserAgent installed
> >> (like we don't require them to have Config::IniFiles - it's 
> >>part of the MTT
> >>repository), since LWP::UserAgent isn't listed as a standard module
> >>(https://www.linuxnotes.net/perlcd/prog/ch32_01.htm). 
> >>However, LWP::UserAgent
> >>uses a platform dependent binary called Parser.so which makes 
> >>the addition of
> >>LWP::UserAgent to the repos slightly more involved. E.g., 
> >>putting Parser.so in
> >>sparc, i386, etc. directories and getting UserAgent to look 
> >>for them in the
> >>right place. For now, LWP::UserAgent can be put in a 
> >>centralized location that
> >>the PERLLIB env var can point to.
> >>
> >>-Ethan
> >>
> >>_______________________________________________
> >>mtt-users mailing list
> >>mtt-us...@open-mpi.org
> >>http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
> >>
> > 
> > 
> > _______________________________________________
> > mtt-users mailing list
> > mtt-us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
> 
> _______________________________________________
> mtt-users mailing list
> mtt-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
> 

Reply via email to