
iphone
User
Mar 11, 2011, 10:53 PM
Post #1 of 1
(140 views)
|
I just want to use 'msm' as an option,no value should be entered for it,how do I make sure that option msm exists and there is no value
use Getopt::Long; #Getting the command-line options my %options = (); GetOptions (\%options,'msm','des=s', 'a=s', 'd=s', 'r=i', 'v=s'); if($options(msm)){....}
|