WWW::Search::Pagesjaunes(3pm) | User Contributed Perl Documentation | WWW::Search::Pagesjaunes(3pm) |
WWW::Search::Pagesjaunes - Lookup phones numbers from www.pagesjaunes.fr
use WWW::Search::Pagesjaunes; my $pj = new WWW::Search::Pagesjaunes; $pj->find( activite => "Plombier", localite => "Paris" ); do { print $_->entry . "\n" foreach ($pj->results); } while $pj->has_more;
The WWW::Search::Pagesjaunes provides name, phone number and addresses of French telephone subscribers by using the <http://www.pagesjaunes.fr> directory.
Two classes are used in this module, a first one (WWW::Search::Pagesjaunes) to do the fetching and parsing, and the second one and a second one (WWW::Search::Pagesjaunes::Entry) holding the entry infos.
Here are the methods for the main WWW::Search::Pagesjaunes module:
The WWW::Search::Pagesjaunes::Entry class has six methods:
The phone numbers are sometimes not correctly parsed, esp. when one entry has several phone numbers.
If you found a bug and want to report it or send a patch, you are encouraged to use the CPAN Request Tracker interface: <https://rt.cpan.org/NoAuth/Dists.html?Queue=WWW-Search-Pagesjaunes>
Please read the Publisher information of <http://www.pagesjaunes.fr> available at the following URL: <http://www.pagesjaunes.fr/pj.cgi?html=commun/avertissement.html&lang=en>
WWW::Search::Pagesjaunes is Copyright (C) 2002, Briac Pilpré
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
Briac Pilpré <briac@cpan.org>
2018-11-25 | perl v5.28.0 |