in reply to Re^3: Usage of flags in scripts
in thread Usage of flags in scripts

This runs into a problem if the negative number is the first argument, since Getopt::Long then has no way to know that it's not a genuine flag. The solution is the usual GNU-style -- flag, which signals the end of options (so that require_order isn't even necessary, though it'll do no harm—besides being more natural, I think).