[p4] P4 (perl module) code examples?
Finn Normann Pedersen
merenpha at gmail.com
Sat Dec 2 00:54:05 PST 2006
Hi,
We recently experimented with the perl module ;) It works quite well
once you get to know it and it's faster than calling the p4 executable,
which we did in scripts earlier.
The bad things we found was:
- Bad documentation... better get a version of etherreal and snoop
how communication with the server really happen.
- Quick note on bad documentation: The View parameter in the client
spec (FormatClientSpec) is an array! Not a string reference like all the
other parameters.
- Some functions wern't implemented, though documenation said they
were. Especially the FormatLabelSpec was absent. It was quite simple to
fix, basically you just wrap up a hash structure.
Unfortunately I cannot share any of our code, but if you have specific
questions, do email me next week.
Cheers, Finn
David Alban wrote:
> Greetings,
>
> Does anyone have, or know of any examples of perl code using the P4 perl
> module <http://search.cpan.org/~smee/P4-3.5313/P4.pm> that they could
> legally/ethically make available to me, or towards which they could
> point me? Something other than example.pl that comes with the
> distribution?
>
> Thanks,
> David
>
More information about the perforce-user
mailing list