Fw: [p4perl] sync problems
tony at smee.org
Wed Mar 16 03:28:12 PST 2005
On Tuesday 15 March 2005 14:25, Roger Day wrote:
> I agree - but there is no output that I can see.
> I think there's a real problem here but I can't put my finger on it. Let me
> If I do a bog standard piece of code like this:
> my @jj=();
> for my $i (@jj)
> print $i."\n";
> The loop doesn't get activated. Which is what I expect.
> However, when I step through the debugger for the below code, the loop is
> activated. I do x $w and it claims $w is a reference to an array. If I do x
> @warnings, it claims an empty array, with $#warnings set to -1.
> So, there is an array there, probably full of the information we seek, but
> I can't "see" it. This, I think, is the core of the matter. If I could see
> that "hidden" array, then I'd be happy camper.
I think this is because I was returning an array from P4::Errors() and
P4::Warnings() rather than a list. I've just made a change which converts the
return value to a list and that seems to make Perl happier with it. I'll
update the installers shortly and let you know when they're done.
More information about the p4perl