in reply to perl capture svn stat

You could use SVN::Agent or write a script like:

open(my $fh, "svn stat |") or die "Can't run svn: $!\n"; while (<$fh>) { if (/^ M/) { my @array = split; my $filename = $array[-1]; } } close $fh;

Replies are listed 'Best First'.
Re^2: perl capture svn stat
by ysth (Canon) on Jul 16, 2009 at 03:29 UTC
Re^2: perl capture svn stat
by Sun751 (Beadle) on Jul 16, 2009 at 04:39 UTC
    Can any one direct me or guide me how "|" works in
    open(my $fh, "svn stat |")
    Cheers

      The documentation for open perhaps? Or even perlopentut?

      The cake is a lie.
      The cake is a lie.
      The cake is a lie.