-
-
11 May 2019 19:24:26 UTC
- Distribution: Panotools-Script
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (405 / 0 / 0)
- Kwalitee
Bus factor: 0- 67.49% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (160.4KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- File::Copy
- File::Spec
- File::Temp
- Getopt::Long
- Getopt::Std
- Image::ExifTool
- Image::Size
- LWP::UserAgent
- Math::Trig
- Pod::Usage
- Storable
- Test::More
- URI
- bytes
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Panotools::Makefile::Variable - Assemble Makefile Variable definitions
SYNOPSIS
Simple interface for generating Makefile syntax
DESCRIPTION
Writing Makefiles directly from perl scripts with print and "\t" etc... is prone to error, this library provides a simple perl interface for assembling Makefiles.
USAGE
$var = new Panotools::Makefile::Variable;
..or define the 'variable name' at the same time:
$var = new Panotools::Makefile::Variable ('USERS');
..or define the name and values at the same time:
$var = new Panotools::Makefile::Variable ('USERS', 'Andy Pandy');
Set or query the name:
$var->Name ('USERS'); $text = $var->Name;
$var->Values ('James Brine', 'George Loveless'); $var->Values ('Thomas Standfield');
Construct a text fragment that defines this variable suitable for use in a Makefile like so:
$text = $var->Assemble;
Module Install Instructions
To install Panotools::Script, copy and paste the appropriate command in to your terminal.
cpanm Panotools::Script
perl -MCPAN -e shell install Panotools::Script
For more information on module installation, please visit the detailed CPAN module installation guide.