SVK::Simple.3pm

Langue: en

Version: 2005-04-15 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

SVK::Simple - Simple SVK object loader

SYNOPSIS

     my $output;
     my $svk = SVK::Simple->new(output => \$output);
 
     $svk->ls("//");
     print $output;
 
 

DESCRIPTION

Although SVK.pm itself is already simple enough, there still are some misc requirements in the svk script which is not included in SVK.pm. This module helps people who wants to write some SVK applications. It provides a simple SVK object loader, so people will not have to handle XD initialization.

METHODS

This package provides only one method: "new()", it takes an optional parameter ``output'', which should be a scalarref. All the following SVK command output will be store in to that scalar. Please always initalized your $svk object as in SYNOPSIS. If ``output'' is not given, then all the outputs goes out to STDOUT. What is returned is an SVK object, you may perform svk commands like this:
     $svk->$cmd($params)
 
 

Where $cmd is one of those commands listed in "svk help commands".

That's all about this module, enjoy it.

SEE ALSO

SVK, svk Copyright 2005 by Kang-min Liu <gugod@gugod.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>