Pod::Trac - Convert a POD to trac's wiki syntax and add it to the trac
This document describes Pod::Trac version 0.0.1
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
Extract POD from your sources, convert them to the trac's wiki syntax, and create or update the page with the new document
create a LWP Object. Log in the trac wiki, and store the cookie. get the trac_form_token
Convert the POD to the wiki syntax.
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
Get a filename and convert the pod in this file
Look in a directory, for all the pods and send them to the trac.
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.
bug-pod-trac@rt.cpan.org
franck cuny <franck.cuny@gmail.com>
<franck.cuny@gmail.com>
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.
To install Pod::Trac, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Trac
CPAN shell
perl -MCPAN -e shell install Pod::Trac
For more information on module installation, please visit the detailed CPAN module installation guide.