Created
May 23, 2013 09:25
-
-
Save kyanny/5634832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Getopt::Long; | |
my @c = (); | |
my @m = (); | |
GetOptions('c=s' => \@c, 'm=s' => \@m); | |
my $argument = shift @ARGV; | |
die "a mandatory parameter `argument'" unless $argument; | |
use Data::Dumper; print Dumper {'c' => \@c, 'm' => \@m, 'argument' => $argument}; |
Author
kyanny
commented
May 23, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment