in reply to Re: Special chars in arguments using GetOptions (Getopt::Long)
in thread Special chars in arguments using GetOptions (Getopt::Long)

Wow, think I have drunk too much alcohol ;) since that is pretty clever indeed and I never thought of it..! :)

Although a problem accures if the user really mean -, and not <... (although I think I get it through the context, unless it can be both)

UPDATE: Well, seems that + is removed from the argument by GetOptions... which means I cant know if user typed it or not...
  • Comment on Re^2: Special chars in arguments using GetOptions (Getopt::Long)