# linkCheck() will scan a document (labelled HTML) to ensure all
# valid links exist. It displays the links as it tests, ending with a button
# with the text specified. When the button is pressed the NEXT url
# is displayed with the default directory set to ExitPath.  If SAVE is given
# and the check passes, the html file is moved to the new name or location.
# All parameters excepth HTML are optional.
# .html is optional in HTML and SAVE commands
 
use HTML::LinkCheck;
HTML::linkCheck(
  Title => "Title", NEXT => "/index.html", BUTTON => "Continue", ExitPath => '.',
  HTML => "filename", SAVE => "moveto", IGNORE => 'ignoreRE');