This will walk you through installing the Getopt::Declare Perl module.
To check if it is are already installed, do the command:
perl -MGetopt::Declare
If everything is all right, the computer will go to the next line and just sit there (without even printing a prompt!). Type cntl-D or cntl-C to get back to your prompt.
If something is not installed, you'll get an error.
If you need to install "Getopt::Declare", I won't go into detail on how to install Perl modules here -- you can ask us for help if you have problems. There's a web page that tells you how to install Perl modules at: http://www.rcbowen.com/imho/perl/modules.html
But, in short, to quote the page http://perl.about.com/library/weekly/aa032701b.htm, if you are on windows, type "ppm" at a shell prompt:
C:> ppm</pre> You should see <pre>PPM interactive shell (2.1.2) - type 'help' for available commands PPM>
Now type
PPM> install Getopt::Declare</pre> If you're on Unix or Linux, it's best to use your packaging system (ie. "rpm" or "apt-get"). Otherwise, if you're using the CPAN exporter module (module "CPAN"), then start it up from the command line and then install Getopt::Declare. <pre> % perl -MCPAN -e shell cpan> install Getopt::Declare