Michael De La Rue > WWW-Link > WWW::Link::Reporter::Compile

Download:
WWW-Link-0.036.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.08   Source  

NAME ^

WWW::Link::Reporter::Compile - report link errors suitably for use in emacs

SYNOPSIS ^

    use WWW::Link;
    use WWW::Link::Reporter::Compile;

    $link=new WWW::Link;
    #over time do things to the link ......

    $::reporter=new WWW::Link::Reporter::Compile;
    $::reporter->examine($link)

or see WWW::Link::Selector for a way to recurse through all of the links.

DESCRIPTION ^

This is designed for reporting errors in a specific file. It prints out an report which is suitable for use by emacs' compile mode.

okay

I don't see any reason to call the okay function.. however for information? We avoid giving a line number so that this doesn't stop emacs compile.

filename

The filename function can be called with one argument to set the filename or will return the current idea of the filename if none is given.

Until the filename is set, filename will return the current contents of $ARGV. After it has been set it will return whatever value was last given.

syntax highlighting: