1Panotools::Makefile::VaUrsiearblCeo(n3t)ributed Perl DocPuamneonttoaotliso:n:Makefile::Variable(3)
2
3
4

NAME

6       Panotools::Makefile::Variable - Assemble Makefile Variable definitions
7

SYNOPSIS

9       Simple interface for generating Makefile syntax
10

DESCRIPTION

12       Writing Makefiles directly from perl scripts with print and "\t" etc...
13       is prone to error, this library provides a simple perl interface for
14       assembling Makefiles.
15

USAGE

17         $var = new Panotools::Makefile::Variable;
18
19       ..or define the 'variable name' at the same time:
20
21         $var = new Panotools::Makefile::Variable ('USERS');
22
23       ..or define the name and values at the same time:
24
25         $var = new Panotools::Makefile::Variable ('USERS', 'Andy Pandy');
26
27       Set or query the name:
28
29         $var->Name ('USERS');
30         $text = $var->Name;
31
32         $var->Values ('James Brine', 'George Loveless');
33         $var->Values ('Thomas Standfield');
34
35       Construct a text fragment that defines this variable suitable for use
36       in a Makefile like so:
37
38         $text = $var->Assemble;
39
40
41
42perl v5.28.0                      2013-05-12  Panotools::Makefile::Variable(3)
Impressum