in reply to Advatages of LWP?

Some that spring immediately to mind:

  1. LWP is a standard part of Perl (since 5.8.0) therefore it will always be installed whereas lynx is something extra to install.
  2. Using internal code is always safer and faster than shelling out to an external program.
  3. LWP can be used to give you more information - like the HTTP response header - which might be useful in the future.
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^2: Advatages of LWP?
by hardburn (Abbot) on Jul 28, 2004 at 13:17 UTC

    LWP is a standard part of Perl

    Hrm? I don't see it.

    The standard dist needs to get smaller, anyway. Although very useful, LWP is not such a critical peice of functionality that it needs to be in the core.

    ----
    send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.

      Er.... no. It was libnet that was added, not libwww. Sorry about that.

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg