Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Getopt::Long 2.37

    Download button

    No screenshots available
    Downloads: 593  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.6/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Johan Vromans | More programs
    Perl Artistic License / FREE
    May 26th, 2008, 11:57 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Getopt::Long description

    Getopt::Long is an extended processing of command line options.

    Getopt::Long is an extended processing of command line options.

    SYNOPSIS

    use Getopt::Long;
    my $data = "file.dat";
    my $length = 24;
    my $verbose;
    $result = GetOptions ("length=i" => $length, # numeric
    "file=s" => $data, # string
    "verbose" => $verbose); # flag

    The Getopt::Long module implements an extended getopt function called GetOptions(). This function adheres to the POSIX syntax for command line options, with GNU extensions.

    In general, this means that options have long names instead of single letters, and are introduced with a double dash "--". Support for bundling of command line options, as was the case with the more traditional single-letter approach, is provided but not enabled by default.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    extended processing | command line options | Perl module | Getopt::Long | extended | processing

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM