Re: force using the version of a module

2009-12-28 Thread C.DeRykus
On Dec 26, 8:02 am, jeffp...@netzero.net (Jeff Peng) wrote: > Hello, > > The latest version of LWP::UserAgent (v5.834) has a method of > "local_address", which is needed by my software. > > The lower version of this module (for example, v5.824) doesn't have that > method. > > So how to force to use

Re: force using the version of a module

2009-12-26 Thread Jeff Peng
Peter Scott : % perldoc -f use use Module VERSION LIST use Module VERSION [...] If the VERSION argument is present between Module and LIST, then the "use" will call the VERSION method in class Module with the given version as an argumen

Re: force using the version of a module

2009-12-26 Thread Peter Scott
On Sun, 27 Dec 2009 00:02:24 +0800, Jeff Peng wrote: > The latest version of LWP::UserAgent (v5.834) has a method of > "local_address", which is needed by my software. > > The lower version of this module (for example, v5.824) doesn't have that > method. > > So how to force to use the latest vers

force using the version of a module

2009-12-26 Thread Jeff Peng
Hello, The latest version of LWP::UserAgent (v5.834) has a method of "local_address", which is needed by my software. The lower version of this module (for example, v5.824) doesn't have that method. So how to force to use the latest version of LWP::UserAgent in the perl script? Thanks. Merry Ho