[p4] perl question

Mike Eggleston mikeegg1 at mac.com
Sat Aug 11 17:22:31 PDT 2007

On Sat, 11 Aug 2007, Kilaru Sambaiah might have said:

> Hi All,
>   I am newbie to p4 and I have a question on p4 perl.
>   I wanted to run
> p4 label @labelname in perl
> I can run as
> @files_list = $p4->Run("files",  "@labelname");
> but perl try to interpolate @ to array. How I can avoid this. I also have
> another
> question as my labelname is
> $label = "label_name"
> I would like to get files which are tagged as $label.
> thanks and regards,
> Sam

I don't know the p4 interface so I can't answer the second question.
The first question is change "@labelname" to either '@labelname'
or "\@labelname".


More information about the perforce-user mailing list