NAME
opts.pl - testing program for the Meta::Utils::Opts::Opts.pm module.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
DETAILS
MANIFEST: opts.pl
PROJECT: meta
VERSION: 0.21
SYNOPSIS
opts.pl
DESCRIPTION
This is a testing software and a demonstration of how to use the Meta::Utils::Opts::Opts.pm library for command line option parsing. See that libraries documentation for more details.
OPTIONS
- help (type: bool, default: 0)
-
display help message
- pod (type: bool, default: 0)
-
display pod options snipplet
- man (type: bool, default: 0)
-
display manual page
- quit (type: bool, default: 0)
-
quit without doing anything
- gtk (type: bool, default: 0)
-
run a gtk ui to get the parameters
- license (type: bool, default: 0)
-
show license and exit
- copyright (type: bool, default: 0)
-
show copyright and exit
- description (type: bool, default: 0)
-
show description and exit
- history (type: bool, default: 0)
-
show history and exit
- bool (type: bool, default: 1)
-
just a bool
- inte (type: inte, default: 7)
-
just an int
- stri (type: stri, default: mark)
-
just a string
- floa (type: floa, default: 3.14)
-
just a float
- dire (type: dire, default: .)
-
just a directory
- file (type: file, default: /etc/passwd)
-
just a file
- enum (type: enum, default: mysql)
-
a selection out of an enumerated type
options [mysql,oracle,postgres,informix]
- sset (type: setx, default: one,two)
-
list of files
options [one,two,three]
- urls (type: urls, default: http://www.cpan.org)
-
url string read from
no free arguments are allowed
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV put ALL tests back and light the tree
0.01 MV silense all tests
0.02 MV more perl code quality
0.03 MV perl code quality
0.04 MV more perl quality
0.05 MV more perl quality
0.06 MV revision change
0.07 MV languages.pl test online
0.08 MV perl packaging
0.09 MV license issues
0.10 MV md5 project
0.11 MV database
0.12 MV perl module versions in files
0.13 MV thumbnail user interface
0.14 MV more thumbnail issues
0.15 MV website construction
0.16 MV improve the movie db xml
0.17 MV web site automation
0.18 MV SEE ALSO section fix
0.19 MV move tests to modules
0.20 MV download scripts
0.21 MV bring movie data
SEE ALSO
Meta::Baseline::Test(3), Meta::Ds::Enum(3), Meta::Ds::Oset(3), Meta::Utils::Opts::Opts(3), Meta::Utils::Output(3), Meta::Utils::System(3), strict(3)
TODO
Nothing.