PPM = Perl Package Manager
Use PPM to fetch and install pre-built packages (such as DBI, which isn’t included in the ActiveState ActivePerl distribution). CPAN requires test & make; PPM installs pre-compiled packages. From the command line, PPM runs from PPM.bat; start with:
- ppm help
- install DBI // the Data Base Interface
- install DBD-mysql // the Data Base Driver for mysql
- query * // lists all installed packages
SheBang
… refers to the first line of a Perl script, starting with:
- #!
For example, on Windows the first line in a script looks like:
- #1 C:\Perl\bin\perl.exe
This directive defines where Apache is to find the CGI scripts interpreter.