in reply to Re^4: problem with Getopt::Long
in thread problem with Getopt::Long

Actually, the double-dash actually tells Getopt::Long to consider anything following an argument, regardless of whether it looks like an option or not. (The parser simply stops looking at all.) So your original assertion that options are removed but arguments are left can be considered correct, and IMHO is more correct than your nitpick, though it is of course incomplete without mentioning the function of the double-dash.

Sure, I am arguing semantics, but I wasn't the one who started nitpicking, now was I? ;-)

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^6: problem with Getopt::Long
by Nkuvu (Priest) on Aug 20, 2004 at 13:40 UTC
    That's what I meant when I said "stops option processing." I just didn't say it as well. ^_^