parrotcode: parse command line options | |
Contents | Libraries |
library/Getopt/Long.imc - parse command line options
See examples/assembly/getopt_demo.imc
This PIR library can be used for parsing command line options. A single subroutine, _get_options(), is provided.
This should work like the Perl5 module Getopt::Long. Takes an array of options and an array of specifications.
A PerlHash is returned.
Make it work for all cases, short options, long options and bundling Recognise type of return value: string, integer, binary, array, hash error reporting, more options
Bernhard Schmalhofer - Bernhard.Schmalhofer@gmx.de
The Perl5 module Getopt::Long.
Copyright (C) 2003 The Perl Foundation. All rights reserved. This program is free software. It is subject to the same license as The Parrot Interpreter.
|