Name | Modified | Size |
---|---|---|
.. | ||
Changes | 23 years ago | |
example.pl | 23 years ago | |
Makefile.PL | 23 years ago | |
MANIFEST | 23 years ago | |
P4.pm | 23 years ago | |
P4.ppd | 23 years ago | |
README | 23 years ago | |
test.pl | 23 years ago |
Change | User | Description | Committed |
---|---|---|---|
1011 | Tony Smith |
Moved Perl API stuff one level down to make way for upcoming Ruby interface. |
23 years ago |
982 | Tony Smith | A couple of minor fixes. test.pl was choking on test 6 as ParseForms had not been called,... and Run() now correctly returns an empty list in array context rather than returning undef which was confusing. « |
23 years ago |
967 | Tony Smith | Online doc update | 23 years ago |
961 | Tony Smith | Current build of P4 - version 0.961 | 23 years ago |
960 | Tony Smith | Misc changes. Added an example.pl file with sample code. Also Added the PPD file to the m...anifest (duh!). P4::Run() now returns an array reference instead of a formatted string when used in scalar context where more than one result is returned. Also renamed the shortcut GetXXX and SetXXX methods to be FetchXXX and SaveXXX because GetClient() and SetClient() we already defined by P4::Client. « |
23 years ago |
945 | Tony Smith | PPD file contributed by George Ibbott <gibbott@bakerstreettech.com> with some... minor edits. Version set to 0.931 until I can figure out how to manage this better. « |
23 years ago |
932 | Tony Smith | Update the Changes file with the released version number, and add a README file to the pa...ckage. Not much there yet. « |
23 years ago |
931 | Tony Smith | Latest (931) builds of P4::Client and P4 | 23 years ago |
929 | Tony Smith | Add support for form parsing to Perl API. Allows Perforce specs (change, client, user e...tc.) to be parsed by the API and returned as Perl hashes rather than strings which must be parsed by the user. P4 module also has some new methods which make it easy to use this feature. Sample code: ------------------- use P4; my $p4 = new P4; $p4->ParseForms(); $p4->Init() or die( "Can't connect to Perforce" ); $p4->Edit( "filename" ); my $change = p4->GetChange(); $change->{ 'Description' } = "Some text"; $p4->SubmitSpec( $change ); print( $p4->ErrorCount() ? "Submit failed\n" : "Submit OK\n" ); ------------------- « |
23 years ago |
925 | Tony Smith | Version number for P4.pm to 0.925 | 23 years ago |
922 | Tony Smith | First crack at a much simpler perl interface. Just wraps up the P4::Client and P4::UI cl...asses in an easier to use interface returning the output to the caller in Array or Scalar context as they request it. « |
23 years ago |