in reply to Use Getopt::Long even if you don't think you need to
Thou shalt always check the return value of GetOptions.
I think ignoring the return code of GetOptions is even WORSE than ignoring the return code of open. If someone gives your program an invalid argument on the command-line, then you know that the program cannot possibly be running in the way the user intended. Your program must stop immediately.
xoxo,
Andy
|
|---|