Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

chaoticset
  (email not shown publicly)
http://chaoticset.perlmonk.org/
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [perlmonks.org], and here [javajunkies.org] too, I ramble randomly in my philosophical blog [blogspot.com] and my other blog [blogspot.com]. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Thursday April 15, 2004
08:21 AM

WWW::MechanicalAnimals

[ #18342 ]
I can't seem to get Mech to work right just yet, but I think I can fix whatever I did wrong. I fell in love with the interface reading the docs, and I really want it now.

It seems to not be finding LWP at all, which is bizarre. Off to Google...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • So it's just an install problem? If you have LWP in there OK, it shouldn't be a prob at all...
    --

    --
    xoa

    • I'm not home, so I can't give you the detailed version. Short version goes like this: Installed Mech via perl -MCPAN -e shell, it fired off some warnings about not being able to find things in LWP and HTML (off the top of my head, HTML::Form was one of the missing items). I attempted to do a Make, but it's complaining about the missing separator. (Which I'm sure is my problem. I thought I'd had it licked when I switched to GNU make, because the thing I was having problems with when I switched worked af
      --

      ------------------------------
      You are what you think.
    • I got home a short time ago -- here's the response I've been getting:

      Can't locate object method "requests_redirectable" via package "WWW::Mechanize" (perhaps you forgot to load "WWW::Mechanize"?) at C:/Perl/site/lib/WWW/Mechanize.pm line 156.

      --

      ------------------------------
      You are what you think.
      • OK, but where's the source code?

        Are you actually doing a "use WWW::Mechanize"?

        --

        --
        xoa

        • Sorry about that. When the first attempt to use failed, I reduced the source to this:

          #!\usr\bin\perl

          use strict;
          use warnings;
          #use diagnostics;

          use WWW::Mechanize;

          ###

          # Create the agent.

          my $agent = WWW::Mechanize->new();
          And it produces that exact error.
          --

          ------------------------------
          You are what you think.