|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
using "Getopt::Long" how to check parameter mandatoryby shan_emails (Beadle) |
| on Aug 24, 2010 at 14:07 UTC ( [id://856941]=perlquestion: print w/replies, xml ) | Need Help?? |
|
shan_emails has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, I used Getopt::Long module for command line Input Arguments. The perl file is executed without parameters. But i want the perl file won't execute without parameters. How can i control this case using Getopt::Long. example
Here filename is - testcmd.pl when i run in command prompt as below it doesn't show any error. perl testcmd.pl Thanks in advance, Shanmugam A.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||