I'm new to PERL, and am trying to use the Getopt::EvaP module to parse my command-line arguments, but I am a little lost as to how to make this work. So far I have downloaded and installed the module, and added the following to my script: Code: use Getopt::EvaP; Now, I'm not sure where I add the PDT syntax; does this go in my script, or is it an external file? So there's PDT, MM, and OPT that I need to specify to make this work. Could someone please post a very basic working example of using this module, so that I can get a handle on how I can make it work in my script? Any help would be very appreciated.
Hmm. No replies. Well, just in case anyone else is having this problem and search and find this thread I fixed my problem by using the Getopt::Long module instead (available at http://www.cpan.org) For documentation go to http://perldoc.perl.org/Getopt/Long.html It's pretty straight forward.
EDIT - from last post (you should really allow editing of posts): the link to the Getopt::Long module is wrong, it should be http://www.cpan.org
You will be allowed when you reach the number of posts to double digit. I have done the edit for you as of now.