Hi all,
I'm very new to Perl programming. I've just finished reading the Llama book. Up until now I have scripted in Bash, but I'm wanting to try out Perl and it's benefits over Bash scripting.
I'm creating a script that uses a number of standard modules (e.g. Getopt) and some not-so-standard modules (e.g. PerlMagick)
At some point I want to distribute my Perl code and I want it to be usable by people who don't really know about Perl or programming. Obviously the standard modules should always be there (I'm using "use 5.010" to guarantee this to a certain extent), but what of the non-standard ones?
I guess there are two possibilities: 1) Should I tell the end user to install the missing modules? 2) Should I create an installation script that tests for the modules and if they are not there, then install them? If choice 2 is chosen, should I download the modules and install them? Or distribute them with my main code? I'm just not sure what the etiquette is with such things...
Thank you very much for all advice, Ben