I'm in a bit of bind here. I started an online intro Perl course, and the current task is to make sure my machine is loaded with the latest versions of DBI.pm, CGI.pm, and the DBD of my choice. The instructor gave the class Windows-centric instructions...so I now have a few questions/problems...btw - this is the stock perl install with a G5, and 10.3.
1) How can I tell what versions of modules I have installed, if any, aside from finding, say, CGI.pm and opening it up in BBEdit to check? (which is what I did anyway) 2) How can I install DBI.pm? I got the source from CPAN, but that doesn't appear to be of much use. Can I just drop the source file into wherever else it needs to be? I know, nothing is ever that easy, so it probably needs to be compiled. Where does one find something like DBI.pm with the makefile I need? I tried to do it from the CPAN shell, but it says it doesn't know what I'm talking about. 3) Can I just call the source of a module with my script, and specify where the file lives on the local disk? Probably a major perfomance hit tho, eh? 4) I tried to install DBD::mysql, and I get this at the very end: Warning: prerequisite DBI 1.08 not found. Error: Unable to locate installed Perl libraries or Perl source code. It is recommended that you install perl in a standard location before building extensions. Some precompiled versions of perl do not contain these header files, so you cannot build extensions. In such a case, please build and install your perl from a fresh perl distribution. It usually solves this kind of problem. (You get this message, because MakeMaker could not find "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h") Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install 5) thank you in advance for any help...please spell out what I need to do...my command line skills are a bit rusty. Also, are there any other resources for Perl on OS X out there? Books, FAQs? Just so I can try to answer more troubles like this before it comes to posting for help...thanks again!