P4Perl

Introduction

P4Perl is a Perl module that provides an object-oriented API to the Perforce version management system. Using P4Perl is faster than using the command-line interface in scripts, because multiple command can be executed on a single connection, and because it returns the Perforce Server's responses as Perl hashes and arrays.

The main features are:

  • Get Perforce data and forms in hashes and arrays.

  • Edit Perforce forms by modifying hashes.

  • Run as many commands on a connection as required.

  • The output of commands is returned as a Perl array.

  • The elements of the array returned are strings or, where appropriate, hash references.

The most recent release of P4Perl is 2014.1.