Skip to content

A basic template for Perl applications that take and parse command line options. Based on the ideas from Perl Best Practices and the GNU style long options reference. It uses only Standard Modules to maintain portability.

License

kimmel/basic-perl-template-for-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Perl template(s) for cli
==============================

Table of contents
-----------------

1. Introduction
2. Requirements
3. Reporting bugs
4. Licensing
5. References used



1. Introduction 
---------------

A set of basic templates for Perl applications that take and parse command
line options. Based on the ideas from Perl Best Practices, the GNU style long
options reference and other Perl::Critic policies.

The newest version can always be found at:
https://github.com/kimmel/basic-perl-template-for-cli/

bpt_cli.pl - Is a basic cli app for Perl prior to v5.10

bpt_cli_cf.pl - A basic cli perl app with config file support.

modulino.pl - Is the same as bpt_cli.pl but in a module instead of script form. This allows the program to use module development and testing tools.



2. Requirements
---------------
Any CPAN modules list at the top of the template selected need to be installed.



3. Reporting bugs
-----------------

Please check the Issue queue < https://github.com/kimmel/basic-perl-template-for-cli/issues > and file an issue if one is not already present.



4. Licensing
------------

This program is free software; you can redistribute it and/or modify it under the 3-clause BSD license. See LICENSE.txt file.



5. References used
------------------

GNU Table of Long Options - http://www.gnu.org/prep/standards/html_node/Option-Table.html

Mastering Perl by Brian D Foy - Chapter 18

Pod::Usage
  perldoc Pod::Usage / http://perldoc.perl.org/Pod/Usage.html#DESCRIPTION

About

A basic template for Perl applications that take and parse command line options. Based on the ideas from Perl Best Practices and the GNU style long options reference. It uses only Standard Modules to maintain portability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages