Help for this page

Select Code to Download


  1. or download this
    use Getopt::Long;
    my (@foos, @bars, @bazen, @quuxi);
    ...
        'bazen=s' => sub { shift; push @bazen, split /,/, @_; },
        'quuxi=s' => sub { shift; push @quuxi, split /,/, @_; },
    );
    
  2. or download this
    use Getopt::Long;
    my (@foos, @bars, @bazen, @quuxi);
    ...
        'bazen=s' => \setter,
        'quuxi=s' => \setter,
    );
    
  3. or download this
    use Getopt::Long;
    my %opts;
    ...
        'bazen=s' => \setter,
        'quuxi=s' => \setter,
    );