Hi Stefano,
> I need your help.
>
> I am using P4::ParseForms(), and when run
the command $p4->Run(
> "sync" ) I have this result:
>
>
>
> HASH(0x18351e0)
>
> HASH(0x1835270)
>
> HASH(0x1835300)
>
That's because '$p4->Run( "sync" )' is
returning an array of hashes containing
the output you seek. You'll need to iterate over that array
and decide what
you want to do with the output. For example:
foreach my $h ( $p4->Sync() )
{
print( $h->{ 'depotFile' }, " - ", $h->{
'action' }, "n" );
}
To see what fields are available to you, just run the
command in tagged mode
from the command line. For example:
p4 -ztag sync
Regards,
Tony
_______________________________________________
p4perl mailing list
p4perl perforce.com
http://maillist.perforce.com/mailman/listinfo/p4perl
|