Pod::Trac - Convert a POD to trac's wiki syntax and add it to the trac


Pod-Trac documentation  | view source Contained in the Pod-Trac distribution.

Index


NAME

Top

Pod::Trac - Convert a POD to trac's wiki syntax and add it to the trac

VERSION

Top

This document describes Pod::Trac version 0.0.1

SYNOPSIS

Top

    use Pod::Trac;

    my $trac = Pod::Trac->new({url => "http", login => "mylogin", passwd => "mypass"});
    $trac->from_file({file => "myfile.pm"});
    # or
    $trac->from_path({path => "/my/path/", file_filter => "pm"});

see pod2trac.pl in the example directory

DESCRIPTION

Top

    Extract POD from your sources, convert them to the trac's wiki syntax, and create or update the
    page with the new document

METHODS

init

create a LWP Object. Log in the trac wiki, and store the cookie. get the trac_form_token

generate

Convert the POD to the wiki syntax.

write_to_trac

send the POD to the trac

    set $self->pod_rev to the revision of the current page
    set $self->pod_url to the url of the page created/updated
    push in $self->{created_path} the $self->pod_rev and $self->pod_url

from_file

Get a filename and convert the pod in this file

from_path

Look in a directory, for all the pods and send them to the trac.

BUGS AND LIMITATIONS

Top

No bugs have been reported.

Please report any bugs or feature requests to bug-pod-trac@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

Top

franck cuny <franck.cuny@gmail.com>

LICENCE AND COPYRIGHT

Top


Pod-Trac documentation  | view source Contained in the Pod-Trac distribution.