SVK - A Distributed Version Control System
use SVK; use SVK::XD; $xd = SVK::XD->new (depotmap => { '' => '/path/to/repos'}); $svk = SVK->new (xd => $xd, output => \$output); # serialize the $xd object for future use. $svk->ls ('//'); # check $output for its output ...
SVK is the class that loads SVK::Command and invokes them. You can use it in your program to do what you do with the svk command line interface.
SVK
Options to new:
new
SVK::XD object that handles depot and checkout copy mapping.
A scalar reference. After command invocation the output will be stored in the scalar. By default the output is not held in any scalar and will be printed to STDOUT.
All methods are autoloaded and deferred to SVK::Command->invoke.
SVK::Command->invoke
svk, SVK::XD, SVK::Command.
To install SVK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVK
CPAN shell
perl -MCPAN -e shell install SVK
For more information on module installation, please visit the detailed CPAN module installation guide.