On 6/29/05, Chris Devers <[EMAIL PROTECTED]> wrote:
> On Wed, 29 Jun 2005 [EMAIL PROTECTED] wrote:
> 
> > what is lwp?
> 
> Try Google.
> 
>     <http://www.google.com/search?q=lwp>
> 
> Most or all of the top 20 hits are related to Perl's LWP.
> 
> Search for 'lwp perl' and nearly all the top 50 hits are right.
> 
>     <http://www.google.com/search?q=lwp+perl>
> 
> I think that makes this a Frequently Answered Question :-)
> 
> 
> 
> --
> Chris Devers
> 

In paricular, check out LWP::Simple's get() function wich is
functionally equivalent to a bare call to curl, but doesn't require
the system() invokation.

Far more useful in a script, too, since it returns the data, which is
usually what you want. (think '$something = `curl [args]`'). Of
course, if you don't want to do anything with the returned data,
getstore() and getprint() are provided as well.

And while google is helpful, I highly recommend 'apropos lwp', which
on most systems will return the extremely useful descriptions:

  LWP (3pm)            - The World-Wide Web library for Perl
  LWP::Simple (3pm)    - simple procedural interface to LWP


>From there 'perldoc LWP' or 'man LWP' will get you on your way. If
none of this is sounding familiar, though, I might reccommend a basic
guide for your OS of choice, in addition to whatever Perl tutorials
you're using.


-- jay
--------------------
daggerquill [at] gmail [dot] com
http://www.tuaw.com
http://www.dpguru.com
http://www.engatiki.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to