validate.head.links.pl - Ensure CSS and JS links in web pages point to real files
validate.head.links.pl [options]
Options: -help -doc_root aDirName -maxlevel logOption1 -minlevel logOption2 -url aURL
Exit value: 0 for success, 1+ for failure. Die upon error.
The exit value is the number of files not found.
The root directory of the web site. This option is mandatory.
Default: ''.
Print help and exit.
This option affects Log::Handler.
See the Log::Handler::Levels docs.
Default: 'notice'.
For more details in the printed report, try:
my($validator) = MojoX::ValidateHeadLinks -> new(doc_root => $d, maxlevel => 'debug', url => $u);
Default: 'error'.
No lower levels are used.
The URL of the web site's home page. This option is mandatory.
To install MojoX::ValidateHeadLinks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::ValidateHeadLinks
CPAN shell
perl -MCPAN -e shell install MojoX::ValidateHeadLinks
For more information on module installation, please visit the detailed CPAN module installation guide.