Christopher Fields > BioPerl-1.6.923 > check_URLs.pl

Download:
BioPerl-1.6.923.tar.gz

Annotate this POD

CPAN RT

New  12
Open  4
View/Report Bugs
Source   Latest Release: BioPerl-1.6.924

NAME ^

check_URLs.pl - validate URLs located in module code and POD

SYNOPSIS ^

check_URLs.pl [-d|--dir path] [-v|--verbose] [-?|-h|--help] [-o|--outfile filename]

DESCRIPTION ^

Checks code and POD of all bioperl-live modules for URLs, and validates them.

Output is a series of lines containing two fields, tab separated. The first field is the file with the bad URL, the second is the URL itself.

The whole URL is not retrieved, only a HTTP "HEAD" request is done to see if the URL exists on the server. The request is done using LWP::Simple so the http_proxy environmental variable will be honoured.

The URL parsing may not be perfect - although I use the Regexp::Common::URI module, I have to manually clean up some URLs which are embedded in Perl strings to convert the matched URL to a more probable real world URL, e.g. most URLs don\'t end in "'," or ")" :-)

OPTIONS ^

-d | --dir path

Overides the default directory to recursively look for .pm file (Default is '../Bio')

-v | --verbose

Show the progress through files during the POD checking.

-? | -h | --help

This help text.

FEEDBACK ^

Mailing Lists

User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.

  bioperl-l@bioperl.org                  - General discussion
  http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

Reporting Bugs

Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:

  https://redmine.open-bio.org/projects/bioperl/

AUTHOR - Torsten Seemann ^

Email: torsten-dot-seemann-at-infotech-dot-monash-dot-edu-dot-au

syntax highlighting: