Created
December 9, 2010 10:12
-
-
Save Altreus/734562 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/perl | |
use strict; | |
use warnings; | |
use Opt::Imistic; | |
use Data::Dumper; | |
print Dumper (\%Opt::Imistic::opts); |
This file contains hidden or 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
$ perl -Ilib example.pl --foo=bar -a -b baz foo.pl | |
$VAR1 = { | |
'a' => 1, | |
'b' => 'baz', | |
'foo' => 'bar', | |
'_' => [ | |
'foo.pl' | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment