How can i control this case using Getopt::Long.As Johan Vromans (author of Getopt::Long) tends to say "mandatory arguments aren't options". Hence, there's no build-in functionality in Getopt::Long to enforce mandatory parameters.
But you can also die afterwards if certain parameters aren't defined.
In reply to Re: using "Getopt::Long" how to check parameter mandatory
by JavaFan
in thread using "Getopt::Long" how to check parameter mandatory
by shan_emails
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |