[ create a new paste ] login | about

Link: http://codepad.org/46Ml9wY3    [ raw code | output | fork ]

Perl, pasted on Oct 19:
1
2
3
4
5
use Getopt::Long;

my $country = 'Canada';
GetOptions("country=s" => \$country) or die("Error in command line args\n");
print "Country is $country\n";


Output:
1
Country is Canada


Create a new paste based on this one


Comments: