Lines Matching full:getopt
3 # Getopt::Long.pm -- Universal options parsing
12 # Getopt::Long is reported to run under 5.6.1. Thanks Tux!
18 package Getopt::Long;
35 # Values for $order. See GNU getopt.c for details.
132 Getopt::Long::Configure ()
142 sub Getopt::Long::Parser::new {
143 require Getopt::Long::Parser;
144 goto &Getopt::Long::Parser::new;
236 ("Getopt::Long $VERSION ",
539 (Getopt::Long::CallBack->new
568 die("Getopt::Long -- internal error!\n");
1244 die("Getopt::Long internal error (Can't happen)\n");
1285 # Getopt::Long Configuration.
1378 die("Getopt::Long: invalid pattern \"$genprefix\"\n") if $@;
1386 die("Getopt::Long: invalid pattern \"$genprefix\"\n") if $@;
1394 die("Getopt::Long: invalid long prefix pattern \"$longprefix\"\n") if $@;
1400 die("Getopt::Long: unknown or erroneous config parameter \"$opt\"\n")
1503 package Getopt::Long::CallBack;
1531 Getopt::Long - Extended processing of command line options
1535 use Getopt::Long;
1546 The Getopt::Long module implements an extended getopt function called
1598 =head1 Getting Started with Getopt::Long
1600 Getopt::Long is the Perl5 successor of C<newgetopt.pl>. This was the
1603 name Getopt::Long. This module also supports single-character options
1606 To use Getopt::Long from a Perl program, you must include the
1609 use Getopt::Long;
1611 This will load the core of the Getopt::Long module and prepare your
1612 program for using it. Most of the actual Getopt::Long code is not
1618 non-option arguments. See L<Configuring Getopt::Long> for more
1619 details on how to configure Getopt::Long.
1651 Getopt::Long supports two useful variants of simple options:
1684 options first, and the other arguments last. Getopt::Long will,
1687 program. To stop Getopt::Long from processing further arguments,
1703 If the option value is required, Getopt::Long will take the
1984 See L<Getopt::Long::Parser>.
2011 Getopt::Long is thread safe when using ithreads as of Perl 5.8. It is
2017 Getopt::Long encourages the use of Pod::Usage to produce help
2020 use Getopt::Long;
2034 sample - Using Getopt::Long and Pod::Usage
2073 use Getopt::Long qw(GetOptionsFromArray);
2095 use Getopt::Long qw(GetOptionsFromString);
2173 Getopt::Long supports three styles of bundling. To enable bundling, a
2174 call to Getopt::Long::Configure is required.
2178 Getopt::Long::Configure ("bundling");
2196 Getopt::Long::Configure ("bundling_override");
2212 Getopt::Long::Configure ("bundling_values");
2225 Getopt::Long::Configure ("bundling", "ignorecase_always");
2267 L<Configuring Getopt::Long>.
2269 =head1 Configuring Getopt::Long
2271 Getopt::Long can be configured by calling subroutine
2272 Getopt::Long::Configure(). This subroutine takes a list of quoted
2281 use Getopt::Long qw(:config no_ignore_case bundling);
2428 Getopt::Long will provide a standard version message that includes the
2430 versions of Getopt::Long and Perl. The message will be written to
2442 Getopt::Long will provide a help message using module L<Pod::Usage>. The
2579 the call to Getopt::Long::GetOptions() was embedded in C<eval { ...
2591 Getopt::Long, has gone through several stages. Since backward
2593 of Getopt::Long still supports a lot of constructs that nowadays are
2646 Previous versions of Getopt::Long used variables for the purpose of
2703 use GetOpt::Long;
2707 =head2 How do I put a "-?" option into a Getopt::Long?
2709 You can only obtain this using an alias, and Getopt::Long of at least
2712 use Getopt::Long;
2716 supported in aliases with Getopt::Long of at version 2.39. Note that
2720 As of version 2.32 Getopt::Long provides auto-help, a quick and easy way
2723 See C<auto_help> in section L<Configuring Getopt::Long>.