Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Assignment help

by kaki (Initiate)
on May 17, 2014 at 03:26 UTC ( [id://1086416]=perlquestion: print w/replies, xml ) Need Help??

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

Hi guys, i've given an perl assignment to script a web-scrapper using perl. i'm struggling right now which doesn't know how to start , because im really bad in programming. anyone willing to help? please pm me thanks!!

Replies are listed 'Best First'.
Re: Assignment help
by roboticus (Chancellor) on May 17, 2014 at 04:41 UTC

    kaki:

    I assume your instructor mentioned some modules to use (such as HTML::Parser and/or LWP). So first start with the example code in the docs (and examples directories for the modules, if they have any). Don't do anything fancy at first, just make your code work.

    Next, figure out what you're trying to scrape. Are you trying to retrieve images? Links? Look on CPAN for helper code that can assist you, and again, look at the examples.

    I can't offer too much in the way of specifics as (a) I don't really know much about web scraping (I'm just starting to write a couple scrapers myself), and (b) you haven't really provided much information about what you're specifically trying to accomplish.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re: Assignment help
by InfiniteSilence (Curate) on May 17, 2014 at 13:59 UTC
Re: Assignment help
by karlgoethebier (Abbot) on May 17, 2014 at 14:04 UTC

    I'm a bit unsure about your specs but please see Web::Scraper. Just found it on cpan. Perhaps this is a point to start?

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Re: Assignment help
by kaki (Initiate) on May 17, 2014 at 16:40 UTC
    Thanks for all the reply. @karl, thanks so much for that, i'll try to figure it out
Re: Assignment help
by kaki (Initiate) on May 17, 2014 at 09:46 UTC
    i will need to implementing a Perl application that does web scraping in order to generate a list of email address for further processing. and it should be able to generate different type of reports, either as text printed directly on the screen , or in the form of html printed directly on the screen. That is what i need to accomplish.

      kaki: Adding a hint of a suggestion of a further specification to the very minimal info already provided in your OP is not likely to be productive.

      Were I roboticus, I might have added "(c) I'm not really interested in providing a free code-writing service" to the reply above. If you can show some significant effort, however basic, I'm sure there are many monks about the place who would be glad to help you. If this is an academic assignment, please reconsider the advice offered by roboticus. If this is a work assignment, showing effort is all the more important, but we are still glad to help because we all need to work for a living!

      It seems very strange that a boss would simply dump you in the swimming pool with such an assignment and give you no other help. Why don't you just ask him or her for help? It's all right to just be honest and say that you don't know how to do something; not at all good to lie be misleading about such things. And if this is an academic exercise, the same. Talk to your instructor immediately.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found