Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pagesjaunes(1p) [debian man page]

PAGESJAUNES(1p) 					User Contributed Perl Documentation					   PAGESJAUNES(1p)

NAME
pagesjaunes - Lookup phones numbers from www.pagesjaunes.fr SYNOPSIS
pagesjaunes [options ...] Options: -activite -business : Business type -nom -name : Name -prenom -firstname : First name -localite -town : Town -departement -district : Dept district or Region -useragent : String to be passed as User-Agent header (this may be needed to bypass user-agent detection) -fast : Submit the request directly without querying the form -separator : Character used to separate the fields (default ' ') -limit : Maximum number of results returned -english : Use the pagesjaunes.fr english interface -quiet : Turn off error messages display -help : Brief help message -man : Full documentation -version : Display version number You must provide the localite/town option, and either activite/business or nom/name option. The prenom/firstname option is ignored if the localite/town option is set. OPTIONS
-activite or -business Activity or business type you're looking for. This is a mandatory switch if you don't specify the -name or -nom switches. -nom or -name Name of the person or company you're looking for. Note that the search is done with a fuzzy match. -prenom or -firstname First name of the person you're looking for. This option is ignored if the -activite or -business are set. -adresse or -address Address of the person you're searching for. -localite or -town Name of the town. -department or -district Department district or Region you're searching in. -separator Character used to separate fields in the result set. Default is a tabulation character. -useragent The default user-agent string passed to the www.pagesjaunes.fr site is ""WWW::Search::Pagesjaunes/x.xx" where x.xx is the version of the module. Sometimes, it is needed to change it to other user-agent strings. -limit Maximum number of entries returned. Default is 50. If you set it to 0 or a negative number, it will return all the entries found. -english Use the english interface of pagesjaunes.fr. This means that you can enter business types in english (i.e. 'plumber' instead of 'plombier'), and error messages will be displayed in english. -quiet No error messages are printed when this switch is on -help Print a brief help message and exits. -man Prints the manual page and exits. -version Prints the version of the script and exits. DESCRIPTION
This script provides name, phone number and addresses of French telephone subscribers by using the http://www.pagesjaunes.fr directory and the WWW::Search::Pagesjaunes module. COPYRIGHT
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 <http://www.pagesjaunes.fr/pj.cgi?html-=commun/avertissement.html&lang=en> This script is Copyright (C) 2002, Briac Pilpre This script is free software; you can redistribute it or modify it under the same terms as Perl itself. AUTHOR
Briac Pilpre <briac@cpan.org> perl v5.12.4 2011-11-02 PAGESJAUNES(1p)

Check Out this Related Man Page

WWW::Wikipedia(3pm)					User Contributed Perl Documentation				       WWW::Wikipedia(3pm)

NAME
WWW::Wikipedia - Automated interface to the Wikipedia SYNOPSIS
use WWW::Wikipedia; my $wiki = WWW::Wikipedia->new(); ## search for 'perl' my $result = $wiki->search( 'perl' ); ## if the entry has some text print it out if ( $result->text() ) { print $result->text(); } ## list any related items we can look up print join( " ", $result->related() ); DESCRIPTION
WWW::Wikipedia provides an automated interface to the Wikipedia <http://www.wikipedia.org>, which is a free, collaborative, online encyclopedia. This module allows you to search for a topic and return the resulting entry. It also gives you access to related topics which are also available via the Wikipedia for that entry. INSTALLATION
To install this module type the following: perl Makefile.PL make make test make install METHODS
new() The constructor. You can pass it a two letter language code, or nothing to let it default to 'en'. ## Default: English my $wiki = WWW::Wikipedia->new(); ## use the French wiki instead my $wiki = WWW::Wikipedia->new( language => 'fr' ); WWW::Wikipedia is a subclass of LWP::UserAgent. If you would like to have more control over the user agent (control timeouts, proxies ...) you have full access. ## set HTTP request timeout my $wiki = WWW::Wikipedia->new(); $wiki->timeout( 2 ); You can turn off the following of wikipedia redirect directives by passing a false value to "follow_redirects". language() This allows you to get and set the language you want to use. Two letter language codes should be used. The default is 'en'. my $wiki = WWW::Wikipedia->new( language => 'es' ); # Later on... $wiki->language( 'fr' ); follow_redirects() By default, wikipeda redirect directives are followed. Set this to false to turn that off. search() Which performs the search and returns a WWW::Wikipedia::Entry object which you can query further. See WWW::Wikipedia::Entry docs for more info. $entry = $wiki->search( 'Perl' ); print $entry->text(); If there's a problem connecting to Wikipedia, "undef" will be returned and the error message will be stored in "error()". random() This method fetches a random wikipedia page. error() This is a generic error accessor/mutator. You can retrieve any searching error messages here. TODO
o Clean up results. Strip HTML. o Watch the development of Special:Export XML formatting, eg: http://en.wikipedia.org/wiki/Special:Export/perl SEE ALSO
o LWP::UserAgent AUTHORS
Ed Summers <ehs@pobox.com> Brian Cassidy <bricas@cpan.org> COPYRIGHT AND LICENSE
Copyright 2003-2011 by Ed Summers This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-04-05 WWW::Wikipedia(3pm)
Man Page