Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::trac::connection(3pm) [debian man page]

Net::Trac::Connection(3pm)				User Contributed Perl Documentation				Net::Trac::Connection(3pm)

NAME
Net::Trac::Connection - Connection to a remote Trac server DESCRIPTION
This class represents a connection to a remote Trac instance. It is required by all other classes which need to talk to Trac. SYNOPSIS
use Net::Trac::Connection; my $trac = Net::Trac::Connection->new( url => 'http://trac.example.com', user => 'snoopy', password => 'doghouse' ); ACCESSORS
url The url of the Trac instance used by this connection. Read-only after initialization. user password ACCESSORS
/ MUTATORS logged_in [BOOLEAN] Gets/sets a boolean indicating whether or not the connection is logged in yet. mech [MECH] Gets/sets the Net::Trac::Mechanize (or subclassed) object for this connection to use. Unless you want to replace it with one of your own, the default will suffice. METHODS
new PARAMHASH Creates a new Net::Trac::Connection given a paramhash with values for the keys "url", "user", and "password". ensure_logged_in Ensures this connection is logged in. Returns true on success, and undef on failure. Sets the "logged_in" flag. PRIVATE METHODS
_fetch URL Fetches the provided relative URL from the Trac server. Returns undef on an error (after "warn"ing) and the content ("$self-"mech->content>) on success. _warn_on_error URL Checks the last request for an error condition and warns about them if found. Returns with a TRUE value if errors occurred and a FALSE value otherwise for nicer conditionals. _tsv_to_struct PARAMHASH Takes a paramhash of the keys "data" Given TSV data this method will return a reference to an array. LICENSE
Copyright 2008-2009 Best Practical Solutions. This package is licensed under the same terms as Perl 5.8.8. perl v5.12.3 2009-06-10 Net::Trac::Connection(3pm)

Check Out this Related Man Page

Text::Trac(3pm) 					User Contributed Perl Documentation					   Text::Trac(3pm)

NAME
Text::Trac - Perl extension for formatting text with Trac Wiki Style. VERSION
Version 0.12 SYNOPSIS
use Text::Trac; my $parser = Text::Trac->new( trac_url => 'http://trac.mizzy.org/public/', disable_links => [ qw( changeset ticket ) ], ); $parser->parse($text); print $parser->html; DESCRIPTION
Text::Trac parses text with Trac WikiFormatting and convert it to html format. METHODS
new Constructs Text::Trac object. Available arguments are: trac_url Base URL for TracLinks.Default is /. You can specify each type of URL individually. Available URLs are: trac_attachment_url trac_changeset_url trac_log_url trac_milestone_url trac_report_url trac_source_url trac_ticket_url trac_wiki_url disable_links Specify TracLink types you want to disable. All types are enabled if you don't specify this option. my $parser = Text::Trac->new( disable_links => [ qw( changeset ticket ) ], ); enable_links Specify TracLink types you want to enable.Other types are disabled. You cannot use both disable_links and enable_links at once. my $parser = Text::Trac->new( enable_links => [ qw( changeset ticket ) ], ); parse Parses text and converts it to html format. process An alias of parse method. html Return converted html string. SEE ALSO
Text::Hatena Trac <http://www.edgewall.com/trac/> Trac WikiFormatting <http://projects.edgewall.com/trac/wiki/WikiFormatting> AUTHORS
Gosuke Miyashita, "<gosukenator at gmail.com>" Hideaki Tanaka, "<drawn.boy at gmail.com)>" BUGS
Please report any bugs or feature requests to "bug-text-trac at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-Trac>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Text::Trac You can also look for information at: o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Text-Trac> o CPAN Ratings <http://cpanratings.perl.org/d/Text-Trac> o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Text-Trac> o Search CPAN <http://search.cpan.org/dist/Text-Trac> COPYRIGHT &; LICENSE Copyright 2006 Gosuke Miyashita, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2009-03-08 Text::Trac(3pm)
Man Page