in reply to Re: Grabbing a web page without LWP or the like
in thread Grabbing a web page without LWP or the like

I appreciate all the help, this is useful stuff. However, I have a non-Perl question as relates to this thread... how has the Reputation on the originating thread wandered into the negative (-3 as of now)? I see no unpleasantness in it... have I adopted some irritating ways and then become blind to them? In what way is it deserving of disrepute? Let me know, so that I may not make the mistake again.

Alan "Hot Pastrami" Bellows
  • Comment on Re: Re: Grabbing a web page without LWP or the like

Replies are listed 'Best First'.
(tye)Re: Grabbing a web page without LWP or the like
by tye (Sage) on Nov 22, 2000 at 02:44 UTC

    Some people are probably tired of hearing "I need to drill a hole but I can't be bothered to install a (free) high-quality commercial drill but rather must install something I build myself which won't be as good at drilling."

    I do understand several of the problems with installing modules that lead to the very often repeated requests for how to do things that great modules exist for but without using these great modules. But it doesn't mean that the requests don't get tiring.

    The source code for the modules is freely available so if there is some magic about installing the code that you write, then you can use the module source code in order to rewrite the module yourself. But most of us suggest that you figure out how to install some good quality modules along with whatever code you end up writing and installing.

            - tye (but my friends call me "Tye")
      This isn't meant to be a "gosh-you're-dumb" response, but I know it will sound that way... I'm not using modules because I am limited to Perl distribution modules, NOT because I "can't be bothered with it." Modules are good, modules are our friends. I know and embrace this fact each day. But they won't work in this scenario, hence the posting. Sorry if I was unspecific, my bad.

      Alan "Hot Pastrami" Bellows
      -Sitting calmly with scissors-
        And I think what he's saying (and I agree) is that 99% of the time, when somebody has a "I am limited to Perl distribution modules" restriction, it's an artificial limitation imposed by people that either don't understand what modules are or just don't understand what's involved in installing them.

        Because, face it, if you have the means to mass-distribute your code, it's trivial to go one step further and mass-distribute modules with it. 99% of the time, this limitation is non-sensical, so people tend to keep repeating, "You're better off finding a way to distribute a pre-existing module that does the work you're wanting to do."

        Look how easily LWP can do this:

        use LWP::Simple; my $content = get("http://www.example.com/some/page");
Re: Re: Re: Grabbing a web page without LWP or the like
by Hot Pastrami (Monk) on Nov 22, 2000 at 02:44 UTC
    Ah... a helpful monk pointed out to me that the "--" votes are probably due to the fact that I am trying to reinvent the wheel with this solution, and such is frowned upon. Well, I have 2 things to say in my defence regarding that:
    1. It is clear that the existing wheel dos not fit the vehicle, so I am forced to improvise, and
    2. If no one EVER reinvented the wheel, we'd still be clunking around on some rounded rock with a stick through the middle. Re-exercising an old skill a bit never hurt anybody, and often hones said skill.
    Now I'm wondering how many "--" votes this one will fetch. Ah, well.

    Alan "Hot Pastrami" Bellows
    -Sitting calmly with scissors-
      You're fully permitted and encouraged to reinvent the wheel, provided that you first study all existing art, which means you wouldn't have asked the question you did. {grin}

      -- Randal L. Schwartz, Perl hacker