[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
PerlPPMTutorial
Starting PPM
To start PPM, go to the command prompt and type "ppm" (or click Start, Run and type ppm in the resulting box on a Windows system).
Searching For Packages
If you have a rough idea what the package is called, but don't know the exact name for installation, try doing a search. For example, here's what we might do if we wanted to locate the MySQL database driver.
Installing Packages
To install a package, type install followed by the name of the package. For example, to install DBD-mysql, you would type:-
Getting Help
If you need help, type help and press enter.
Had Enough?
Type quit or exit when you've finished to leave PPM.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
PerlPPMTutorial
Using PPM
Perl Package Manager, or Programmers Package Manager, is shipped with ActiveState's ActivePerl and allows you to install Perl modules.Starting PPM
To start PPM, go to the command prompt and type "ppm" (or click Start, Run and type ppm in the resulting box on a Windows system).
Searching For Packages
If you have a rough idea what the package is called, but don't know the exact name for installation, try doing a search. For example, here's what we might do if we wanted to locate the MySQL database driver.
PPM> search MySQL
Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/
PPMServer:
ApacheMysql [0.3 ] Initiate a persistent database connection to
Mysql
DBD-mysql [2.1026] A MySQL driver for the Perl5 Database Interface
(DBI)
DBD-mysqlPP [0.03 ] Pure Perl MySQL driver for the DBI
DBIx-MySQLSequence [0.1 ] Emulate sequences in MySQL.
Finance-Shares-MySQL [0.03 ] Access to stock data stored in a database
MySQL-Config [1.02 ] Parse and utilize MySQL's /etc/my.cnf and
~/.my.cnf files
MySQL-DateFormat [1.01 ] Manipulate dates back and forth between human-
readable and MySQL formats
MySQL-Diff [0.32 ]
MySQL-Easy [1.2 ] Perl extension to make your base code kinda
pretty.
Mysql-Locker [1.00 ] Safe way of locking and unlocking MySQL tables.
Mysql-NameLocker [1.00 ] Safe way of locking and unlocking MySQL tables
using named locks.
Net-MySQL [0.08 ] Pure Perl MySQL network protocol interface.
Time-Piece-MySQL [0.03 ] Adds MySQL-specific methods to Time::Piece
''Note: The bit in blue is what PPM shows you.''Installing Packages
To install a package, type install followed by the name of the package. For example, to install DBD-mysql, you would type:-
intall DBD-mysqlPressing enter will cause the module to be downloaded and installed.
Getting Help
If you need help, type help and press enter.
Had Enough?
Type quit or exit when you've finished to leave PPM.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
