1 # Copyright (C) 2007, The Perl Foundation.
3 package Parrot
::Ops2pm
::Auxiliary
;
6 use vars
qw(@ISA @EXPORT_OK);
8 @EXPORT_OK = qw( Usage getoptions );
13 usage
: tools
/build/ops2pm
.pl
[--help
] [--no-lines
] input
.ops
[input2
.ops
...]
21 "no-lines" => \
$flags{nolines
},
22 "help" => \
$flags{help
},
23 "renum" => \
$flags{renum
},
30 #################### DOCUMENTATION ####################
34 Parrot::Ops2pm::Auxiliary - Non-method subroutines holding functionality for F<tools/build/ops2pm.pl>.
38 use Parrot::Ops2pm::Auxiliary qw( Usage getoptions );
42 $flagref = getoptions();
48 Parrot::Ops2pm::Auxiliary provides subroutines called by F<tools/build/ops2pm.pl>, a
49 program which is called at the very beginning of the Parrot F<make> process.
50 This package is intended to hold subroutines used by that program I<other
51 than> the object-oriented methods provided by Parrot::Ops2pm::Utils.
53 Extraction of the subroutines exported by this package from
54 F<tools/build/ops2pm.pl> facilitates the testing of their functionality by the
55 tests in F<t/tools/ops2pmutils/*.t>.
65 Display a short description of how to use F<tools/build/ops2pm.pl> on
68 usage: tools/build/ops2pm.pl [--help] [--no-lines] input.ops [input2.ops ...]
76 Implicitly returns true upon successful printing.
86 Process arguments provided on command-line to F<tools/build/ops2pm.pl>.
94 Hash reference where any of the following keys may or may not be defined.
102 A wrapper around Getopt::Long::GetOptions() designed to assure testability.
108 Jim Keenan (refactoring code originally found in F<tools/build/ops2pm.pl>).
112 Parrot::Ops2pm::Utils. F<tools/build/ops2pm.pl>.
118 # cperl-indent-level: 4
121 # vim: expandtab shiftwidth=4: