Franck Cuny > Pod-Trac-0.0.1 > Pod::Trac

Download:
Pod-Trac-0.0.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 0.0.1   Source  

NAME ^

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

VERSION ^

This document describes Pod::Trac version 0.0.1

SYNOPSIS ^

    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 ^

    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 ^

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 ^

franck cuny <franck.cuny@gmail.com>

LICENCE AND COPYRIGHT ^

Copyright (c) 2007, franck cuny <franck.cuny@gmail.com>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

syntax highlighting: