Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

WWW::Spyder Module

by kevyt (Scribe)
on Sep 02, 2007 at 03:01 UTC ( #636563=perlquestion: print w/replies, xml ) Need Help??

kevyt has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to use the spyder module but I can't get it installed because of an error in the ._Makefile.PL file. Can someone please help?

I have tried:

# perl Makefile.PL
Checking if your kit is complete... Looks good Writing Makefile for WWW::Spyder #
# make test
cp blib/lib/WWW/ . . . 1..20 1 - WWW::Spyder->new ok 2 - Resting timeout on UserAgent ok 3 - Setting VERBOSITY to 5 . . . ok 18 - Attributes: bell, current_Bytes, html_parser, linkText, seenUR +Ls, current_enQ, text, sleep_base, courtesy_Queue, enqueue_Objects, s +pydered, linkSwitch, cookie_file, page_content, alt, UA, page_Memory, + href, and bytes_GOT. ok 19 - Time: 4 ok 20 - Kbs: 186 #
# make install
Manifying blib/man3/WWW::Spyder.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" ._Makefile.PL ._Makefile Unrecognized character \x05 at ._Makefile.PL line 1. make: *** [._Makefile] Error 255 #
The contents of is:
^@^E^V^G^@^B^@^@Mac OS X ^@^B^@^@^@ ^@^@^@2^@^@^@ ^@^@^@^B +^@^@^@R^@^@^@^@^@^@^@^@^@^@^@^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ +^@^@^@^@^@
Is this module made for a MAC? I am on linux/fedora.
The module can be found at Thanks a bunch, Kevin

Replies are listed 'Best First'.
Re: WWW::Spyder Module
by hossman (Prior) on Sep 02, 2007 at 04:28 UTC

    Note that if you look at the cpan search page for this distribution...

    ...the "CPAN Testers" section seems to indicate that there is a problem of some kind ... 11 CPAN Testers tried this install and it failed for all of them. clicking the link to view the details... can see that most of the 11 testers seem to have had the same problem as you with version 0.19, but earlier versions seemed to install cleanly for at least a few people.

Re: WWW::Spyder Module
by hossman (Prior) on Sep 02, 2007 at 05:41 UTC

    Actually, thinking about this a bit more, if you browse the files in the release there is a "._*" file for every normal file and they are all 82 bytes. I suspect these are some sort of MacOS specific resource fork / hidden files that made it into the release by mistake (as an artifact of whatever mechanism was used to copy/bundle up the tgz) and ExtUtils::MakeMaker seems to be making some sort of assumption about the "._Makefile.PL"

    have you tried just removing the "._*" files from the distribution after you unpack it (and before running perl Makefile.PL) to see if that solves your problem?

      Thanks everyone. I removed all of the "._" files and it worked!!!
      rm ._*
      Thanks! Kevin
Re: WWW::Spyder Module
by zshzn (Hermit) on Sep 02, 2007 at 07:30 UTC
    Conveniently that module appears to be stand-alone, so you could try just copying the source file into an appropriate @INC directory and see if it works.
      I want to add some key words to this so people can find it. Such as crawl webpages.

      Try using the Spyder module from CPAN to help you spider or crawl web pages / web sites.
Re: WWW::Spyder Module
by Your Mother (Archbishop) on Sep 08, 2007 at 20:47 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://636563]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-07-01 11:12 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (98 votes). Check out past polls.