[p4perl] Using global options with P4Perl.
Tony Smith
tony at smee.org
Wed Feb 15 08:29:33 PST 2006
Hi Daniel,
> I'm using the P4Perl interface and I'm having trouble working out how to
> use global options. For example, I'd like to run the command
>
> p4 -s describe -s 69505
>
> which prepends each line with text like this:
>
> text:
> info1:
> text:
> exit:
>
> I've tried things like
>
> $p4->Run("-s", "describe", "-s", "69505");
>
> and
>
> $p4->Run("-s describe", "-s", "69505");
>
> but to no avail. Any suggestions?
You can't do it, and the main (non-technical) reason for that is that you
shouldn't need to: there are much better ways to do things in P4Perl.
If you can tell me what you're trying to achieve I'd be happy to offer some
advice.
Tony
More information about the p4perl
mailing list