1Publican::CreateBrand(3U)ser Contributed Perl DocumentatiPounblican::CreateBrand(3)
2
3
4

NAME

6       Publican::CreateBrand - A module for generating new brand boilerplate.
7

VERSION

9       This document describes Publican::CreateBrand version 0.1
10

SYNOPSIS

12           use Publican::CreateBrand;
13
14           my $creator = Publican::CreateBrand->new({name => 'foo'});
15           $creator->create();
16

DESCRIPTION

18           Creates a new Brand for use with the publican package
19

INTERFACE

21   new
22       Create a Publican object set.
23
24       Parameters:
25
26          name              Brand Name        (Required)
27
28   create
29       Create all the required files.
30
31   xml_files
32       Create XML files.
33
34   conf_files
35       Create configuration files.
36
37   images
38       Create images dir and all the default images in svg and png format.
39
40   default_images
41       Generate images with default text in SVG and PNG formats.
42

DIAGNOSTICS

44       "unknown args %s"
45           All subs with named parameters will return this error when
46           unexpected named arguments are provided.
47
48       "%s is a required parameter"
49           Any sub with a mandatory parameter will return this error if the
50           parameter is undef.
51
52       ""Can't create brand, dirctory %s exists!"
53           When creating a Brand a directory is created with the same name as
54           the brand. If a directory with that name is in the current
55           directory the creation will fail.
56
57       "Invalid language supplied: %s"
58           The language supplied is not a valid language.
59
60       "Can't create directory: %s"
61       "Could not open %s for output!"
62       "Can't write file"
63       "Can't open SVG file %s"
64

CONFIGURATION AND ENVIRONMENT

66       Publican::CreateBrand requires no configuration files or environment
67       variables.
68

DEPENDENCIES

70       Carp version Config::Simple File::Path File::pushd DateTime
71       Image::Magick Publican Term::ANSIColor
72

INCOMPATIBILITIES

74       None reported.
75

BUGS AND LIMITATIONS

77       None reported.
78
79       Please report any bugs or feature requests to
80       "publican-list@redhat.com", or through the web interface at
81       <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&amp;version=rawhide&amp;component=publican>.
82

AUTHOR

84       Jeff Fearn  "<jfearn@redhat.com>"
85
86
87
88perl v5.10.1                      2010-11-12          Publican::CreateBrand(3)
Impressum