Publican(3pm) | User Contributed Perl Documentation | Publican(3pm) |
Publican - Used to control settings for sub modules.
This document describes Publican version $VERSION
use Publican; my $publican = Publican->new({DEBUG => 1});
Handles general configuration of all sub modules.
Private method for loading a config file
Private method for validating configuration
Create a Publican object.
my $publican = Publican->new({debug => 1});
Parameters:
configfile Override Configuration file to use. debug Use debug mode for messages. common_config Override path to coomo configuration files. common_content Override path to common content files.
Print out debugging information.
Return the current value of a configuration parameter
$publican->param('debug');
Display a list of config file parameters and a short description of them.
list all the files in a directory, and its sub-directories, matching the supplied regex.
Get all valid language directories.
Log something, currently emits to STDOUT
TODO: consider using Log::Dispatch or similar
Is the requested language valid according to I18N::LangTags::List
Get localised strings
Apply the supplied xslt file to the supplied XML and return a string of the output.
Create a new XML::TreeBuilder object with the required attributes for DocBook.
TODO: Make XmlClean use this.
Returns a valid DTD for the DocBook tag supplied.
Parameters: tag The root tag for this file dtdver The DTD version ent_file An entity file to include (optional)
## BUGBUG this should be moved to the DocBook sub classes
Print a list of tags that are not supported.
Add a full entry in to the revision history.
## BUGBUG this should be moved to the DocBook sub classes
Get the current edition (version) and release from the Revision History file.
Parameters: language, bump.
If bump is set the returned revision will increment before it's returned.
## BUGBUG this should be moved to the DocBook sub classes
UTF8 escape calls to File::Copy::Recursive
UTF8 escape calls to File::Copy::Recursive
UTF8 escape calls to File::Copy::Recursive
UTF8 escape calls to File::Copy::Recursive
UTF8 escape calls to File::Copy::Recursive
UTF8 escape calls to File::Copy::Recursive
Returns DocBook chunks describing all the configuration options. Used to generate autodocs.
Publican requires no configuration files or environment variables.
Carp version Config::Simple XML::TreeBuilder I18N::LangTags::List Term::ANSIColor File::Find::Rule; Publican::Localise;
None reported.
No bugs have been reported.
Please report any bugs or feature requests to "publican-list@redhat.com", or through the web interface at <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican>.
Jeff Fearn "<jfearn@redhat.com>"
2018-07-08 | perl v5.26.2 |