Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to pull author, title using ISBN (WWW::Scraper::ISBN)?

by NetWallah (Canon)
on Apr 15, 2019 at 20:44 UTC ( [id://1232609]=note: print w/replies, xml ) Need Help??


in reply to How to pull author, title using ISBN (WWW::Scraper::ISBN)?

I agree with hippo - the "Code example" looks bogus.

There IS an "isbn" method in package WWW::Scraper::ISBN::Record , that is used to define a new record - but is probably not useful for your case.

For your case, I would try (UNTESTED):

my @isbns = ( "9780134511184" ); for my $num (@isbns) { my $record = $scraper->search($isbn); if($record->found) { ....

                "It's ten o'clock... Do you know where your AI programs are?"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found