Fw: [p4perl] sync problems

Tony Smith tony at smee.org
Fri Mar 11 05:52:31 PST 2005

On Friday 11 March 2005 11:31, Roger Day wrote:
> As requested, more detail on the script:

Thanks Roger. The script looks OK except for error checking. You should (in 
theory) check $self->Errors() after every command you execute. In some cases 
that's unnecessary, but certainly when things aren't going as expected it's a 
must. For example, something as simple as this:

   foreach my $e ( $self->Errors() )
   print( "Perforce error: $e\n" );

will at least give you a clue as to what's happening.  Hope that helps.


More information about the p4perl mailing list