[p4perl] RE: Question about the Perl API

Jean-Sebastien Pelletier jspelletier at ubisoft.qc.ca
Thu Jan 20 06:34:19 PST 2005


Hi Tony,

Thanks for the modifications. I think I'll instead wait for the
installer(unless I really need this before it's available). Please let me
know when the installer has been updated. 

J-S

-----Original Message-----
From: Tony Smith [mailto:tony at smee.org] 
Sent: 20 janvier 2005 07:29
To: Jean-Sebastien Pelletier
Cc: p4perl at perforce.com
Subject: Re: Question about the Perl API

Hi J-S,

Yes, I've added it for you. You'll need to download the latest development 
release of P4Perl and build it - I haven't updated the Windows installers 
yet. I'll do that shortly. Usage is simple:

 # On
 $p4->SetMaxResults( 100 );
 $p4->SetMaxScanRows( 100 );

 # Off
 $p4->SetMaxResults( 0 );
 $p4->SetMaxScanRows( 0 );

Regards,

Tony

On Wednesday 19 January 2005 15:19, Jean-Sebastien Pelletier wrote:
> Hi Tony,
>
> Could that be possible to add this kind of things in your next release of
> the Perl API ?
>
>
>
> -----Original Message-----
> From: Tony Smith [mailto:tony at perforce.com]
> Sent: 3 août 2004 05:53
> To: Jean-Sebastien Pelletier
> Subject: Re: Question about the Perl API
>
> Hi J-S,
>
> > I have a question about the Perl API vs maxResults and maxScanRows
> > limits. With the command line, there is undocumented arguments to
> > override the
>
> user
>
> > limits for those 2 values. Is there a way to make a similar thing
>
> available
>
> > with the Perl API to override those values ?
>
> Not at the moment. It's not difficult though. I could add it in easily
> enough.
> If you're in a hurry for it, it's a matter of calling:
>
>  ClientApi::SetVar( "maxResults", "10" );
>  ClientApi::SetVar( "maxScanRows", "10" );
>
> at the Perforce API level. It just needs some glue in P4Perl.
>
> Tony




More information about the p4perl mailing list