in reply to Re^4: getOptions() parse problem
in thread getOptions() parse problem

Hi,

So -n isn't a number but an angle? In that case you'd have to use =s as there is no other way to represent an angle (except for floating point format but I guess you're not looking forward of having to type -n 5.383837233838.

Or you could use -d for decimals (--degrees), -m for minutes (--minutes) and -s for seconds (--seconds) as an alternative format to input your angle.

When using =s you need to use the double dash to seperate your 'negative' values from the other options.

You have to make a choice about the format you are willing to use :)

--
if ( 1 ) { $postman->ring() for (1..2); }