# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 4579 | Tony Smith |
Rewrite P4Perl to be more like P4Ruby. This change does away with the old P4/P4::Client split and pulls all the functionality of P4::Client into P4. Hence P4::Client is now deprecated. There are a few gotcha's - see the Changes file, and documentation for the details, but in general it's backwards compatible. As part of this change, I'm also releasing the previous current versions of P4 and P4::Client as released versions - for posterity. P4 now gets a v3.x version number so the old versions will stand out clearly. Hopefully it's all working - works fine for me - but people should consider this a beta build, for now at least. |
||
#2 | 4320 | Tony Smith |
Bug fix. Fix the test script so that it handles both tagged and non-tagged output for "p4 info". Tagged support for "p4 info" was added in 2003.2. Thanks to Jeremy Bopp. |
||
#1 | 1011 | Tony Smith |
Moved Perl API stuff one level down to make way for upcoming Ruby interface. |
||
//guest/tony_smith/perforce/API/P4/test.pl | |||||
#3 | 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. |
||
#2 | 960 | Tony Smith |
Misc changes. Added an example.pl file with sample code. Also Added the PPD file to the manifest (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. |
||
#1 | 922 | Tony Smith |
First crack at a much simpler perl interface. Just wraps up the P4::Client and P4::UI classes in an easier to use interface returning the output to the caller in Array or Scalar context as they request it. |