Lines Matching +defs:new +defs:name

56 sub config(@);			# deprecated name
142 sub Getopt::Long::Parser::new {
144 goto &Getopt::Long::Parser::new;
316 my ($name, $orig) = ParseOptionSpec ($opt, \%opctl);
317 unless ( defined $name ) {
351 $opctl{$name}[CTL_DEST] = CTL_DEST_ARRAY;
354 $opctl{$name}[CTL_DEST] = CTL_DEST_HASH;
357 # if ( $opctl{$name}[CTL_DEST] == CTL_DEST_ARRAY ) {
361 # elsif ( $opctl{$name}[CTL_DEST] == CTL_DEST_HASH ) {
379 if ( $opctl{$name}[CTL_DEST] == CTL_DEST_ARRAY ) {
384 elsif ( $opctl{$name}[CTL_DEST] == CTL_DEST_HASH ) {
396 if ( $opctl{$name}[CTL_TYPE] eq 'I'
397 && ( $opctl{$name}[CTL_DEST] == CTL_DEST_ARRAY
398 || $opctl{$name}[CTL_DEST] == CTL_DEST_HASH )
471 # Get the canonical name.
539 (Getopt::Long::CallBack->new
540 (name => $opt,
737 # Allow period in option name unless passing through,
744 # Option name
766 # $orig keeps track of the primary name the user specified.
767 # This name will be used for the internal or external linkage.
959 # Turn option name into pattern.
996 # Complete the option name, if appropriate.
1119 # Get key if this is a "name=value" pair for a hash option.
1406 # Deprecated name.
1464 # name and value as arguments. Remove these, if so.
1505 sub new {
1510 sub name {
1512 ''.$self->{name};
1522 '""' => \&name,
1563 program to work, hence the name 'option', but are used to modify its
1586 to precede the option name. Early implementations of long options used
1601 first Perl module that provided support for handling the new style of
1603 name Getopt::Long. This module also supports single-character options
1640 The option name as specified to the GetOptions() function is called
1642 can contain more than just the option name. The reference to the
1655 option name:
1670 option name:
1712 In the option specification, the option name is followed by an equals
1806 argument is the name of the option. (Actually, it is an object that
1807 stringifies to the name of the option.) For a scalar or array destination,
1833 Here is an example of how to access the option name and value from within
1839 print("Option name is $opt_name and value is $opt_value\n");
1845 options. For example C<--height> could be an alternate name for
1852 The first name is called the I<primary> name, the other names are
1854 always be the primary name.
1870 Each option specifier consists of two parts: the name specification
1873 The name specification contains the name of the option, optionally
1875 characters. The name is made up of alphanumeric characters, hyphens,
1879 length option name is "length"
1880 length|size|l name is "length", aliases are "size" and "l"
1991 option name so this change should not introduce compatibility
1998 =item name
2000 The name of the option, unabbreviated. For an option with multiple
2001 names it return the first (canonical) name.
2005 The name of the option as actually used, unabbreveated.
2126 option name as key. Options that are not actually used on the command
2236 achieved by adding an option specification with an empty name, for
2246 A special option 'name' C<< <> >> can be used to designate a subroutine
2249 subroutine and passes it one parameter: the argument name.
2429 program name, its version (if $main::VERSION is defined), and the
2601 I<XXX> is the primary name of this option. When a program executes