in reply to Re: Syntax errors in setting path..
in thread Syntax errors in setting path..

Thanks.Also I just want to use 'msm' as an option,no value should be entered for it,how do I make sure that option msm is given but there should be no value.Will the following work?how to make the options case-insensitive?Thanks Update:Ignore the query but i would like to know how to I stop on an unknown option given?
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)){....}