Query: publican
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Publican(3pm) User Contributed Perl Documentation Publican(3pm)NAMEPublican - Used to control settings for sub modules.VERSIONThis document describes Publican version $VERSIONSYNOPSISuse Publican; my $publican = Publican->new({DEBUG => 1});DESCRIPTIONHandles general configuration of all sub modules.INTERFACE_load_config Private method for loading a config file _validate_config Private method for validating configuration new 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. debug_msg Print out debugging information. param Return the current value of a configuration parameter $publican->param('debug'); help_config Display a list of config file parameters and a short description of them. dir_list list all the files in a directory, and its sub-directories, matching the supplied regex. get_all_langs Get all valid language directories. logger Log something, currently emits to STDOUT TODO: consider using Log::Dispatch or similar valid_lang Is the requested language valid according to I18N::LangTags::List maketext Get localised strings old2new Parse a publican 0.x Makefile and create a publican 1.x config file. get_abstract Return the abstract for the supplied langauge with all white space truncted. get_subtitle Return the subtitle for the supplied langauge with white space truncted. run_xslt Apply the supplied xslt file to teh supplied XML and return a string of the output. new_tree Create a new XML::TreeBuilder object with the required attributes for DocBook. TODO: Make XmlClean use this.DIAGNOSTICS"unknown args %s" All subs with named parameters will return this error when unexpected named arguments are provided. "%s is a required argument" Any sub with a mandatory parameter will return this error if the parameter is undef. "Config file not found: %s" publican can not find the named configuration file. "Failed to load config file: %s" The named configuration file could not be loaded. "Can't locate required file: %s" A file required for processing could not be found. "title not found in Info file" The <type>_Info.xml file does not contain a title tag. "productname not found in Info file" The <type>_Info.xml file does not contain a productname tag. "productnumber not found in Info file" The <type>_Info.xml file does not contain a productnumber tag. "edition not found in Info file" The <type>_Info.xml file does not contain a edition tag. "pubsnumber not found in Info file" The <type>_Info.xml file does not contain a pubsnumber tag. "Failed to load brand default config file" A detected defaults.cfg for the current brand could not be loaded. "Failed to load brand overrides config file" A detected overrides.cfg for the current brand could not be loaded. "Could not create a Publican::Localise object" Could not create a Publican::Localise object "Can't open directory"CONFIGURATION AND ENVIRONMENTPublican requires no configuration files or environment variables.DEPENDENCIESCarp version Config::Simple XML::TreeBuilder I18N::LangTags::List Term::ANSIColor File::Find::Rule; Publican::Localise;INCOMPATIBILITIESNone reported.BUGS AND LIMITATIONSNo 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>.AUTHORJeff Fearn "<jfearn@redhat.com>" perl v5.14.2 2012-06-18 Publican(3pm)
Related Man Pages |
---|
publican(1p) - debian |
publican::xmlclean(3) - centos |
publican::configdata(3) - centos |
publican::builder(3) - centos |
publican::createbrand(3) - centos |
Similar Topics in the Unix Linux Community |
---|
using Vi |
brand names |
Find word in file then get following characters |