I want to fetch the clientroot of perforce in a perl script.
I wrote the code as :
my $workspace_root=system("p4 client -o | findstr /b Root");
print $workspace_root;
Instead of printing the path, it prints 0
Could anyone please tell what I am missing here?