Lines Matching defs:Long

1 # Getopt::Long.pm -- Universal options parsing
3 package Getopt::Long;
142 package Getopt::Long::Parser;
147 Getopt::Long::Configure ()
162 my $save = Getopt::Long::Configure ($default_config, @{$atts{config}});
163 $self->{settings} = Getopt::Long::Configure ($save);
183 my $save = Getopt::Long::Configure ($self->{settings}, @_);
186 $self->{settings} = Getopt::Long::Configure ($save);
193 my $save = Getopt::Long::Configure ($self->{settings});
197 $Getopt::Long::caller = $self->{caller_pkg};
204 $ret = Getopt::Long::GetOptions (@_);
208 Getopt::Long::Configure ($save);
215 package Getopt::Long;
266 ("Getopt::Long $Getopt::Long::VERSION (",
565 die("Getopt::Long -- internal error!\n");
1099 die("Getopt::Long internal error (Can't happen)\n");
1104 # Getopt::Long Configuration.
1185 die("Getopt::Long: invalid pattern \"$genprefix\"") if $@;
1193 die("Getopt::Long: invalid pattern \"$genprefix\"") if $@;
1199 die("Getopt::Long: unknown config parameter \"$opt\"")
1231 defined($Getopt::Long::VERSION_STRING)
1232 ? $Getopt::Long::VERSION_STRING : $VERSION, ";",
1309 Getopt::Long - Extended processing of command line options
1313 use Getopt::Long;
1323 The Getopt::Long module implements an extended getopt function called
1372 =head1 Getting Started with Getopt::Long
1374 Getopt::Long is the Perl5 successor of C<newgetopt.pl>. This was
1376 of command line options, hence the name Getopt::Long. This module
1381 To use Getopt::Long from a Perl program, you must include the
1384 use Getopt::Long;
1386 This will load the core of the Getopt::Long module and prepare your
1387 program for using it. Most of the actual Getopt::Long code is not
1393 non-option arguments. See L<Configuring Getopt::Long> for more
1394 details on how to configure Getopt::Long.
1426 Getopt::Long supports two useful variants of simple options:
1456 options first, and the other arguments last. Getopt::Long will,
1459 program. To stop Getopt::Long from processing further arguments,
1475 If the option value is required, Getopt::Long will take the
1705 Getopt::Long can be used in an object oriented way as well:
1707 use Getopt::Long;
1708 $p = new Getopt::Long::Parser;
1714 $p = new Getopt::Long::Parser
1719 Getopt::Long is thread safe when using ithreads as of Perl 5.8. It is
1725 Getopt::Long encourages the use of Pod::Usage to produce help
1728 use Getopt::Long;
1742 sample - Using Getopt::Long and Pod::Usage
1831 Getopt::Long supports two levels of bundling. To enable bundling, a
1832 call to Getopt::Long::Configure is required.
1836 Getopt::Long::Configure ("bundling");
1854 Getopt::Long::Configure ("bundling_override");
1872 Getopt::Long::Configure ("bundling", "ignorecase_always");
1914 L<Configuring Getopt::Long>.
1916 =head1 Configuring Getopt::Long
1918 Getopt::Long can be configured by calling subroutine
1919 Getopt::Long::Configure(). This subroutine takes a list of quoted
1927 use Getopt::Long qw(:config no_ignore_case bundling);
2069 Getopt::Long will provide a standard version message that includes the
2071 versions of Getopt::Long and Perl. The message will be written to
2083 Getopt::Long will provide a help message using module L<Pod::Usage>. The
2204 the call to Getopt::Long::GetOptions() was embedded in C<eval { ...
2216 Getopt::Long, has gone through several stages. Since backward
2218 of Getopt::Long still supports a lot of constructs that nowadays are
2271 Previous versions of Getopt::Long used variables for the purpose of
2309 use GetOpt::Long;
2313 =head2 How do I put a "-?" option into a Getopt::Long?
2315 You can only obtain this using an alias, and Getopt::Long of at least
2318 use Getopt::Long;