Hi, I want to use the SVN::Client cpan module to check out code from a repository.
But how to install and use this module? The documentation is kind of no existing.
I have tried install the Alien::SVN module both through cpan and build it myself. And it seems to install okay. No error messages, and when i go into cpan again and do the following it states that the Alien::SVN module is installed.
cpan> install Alien::SVN 
Alien::SVN is up to date. 
Here is my class that uses the SVN::Client:
use strict;
use warnings;
use Alien::SVN;
use SVN::Client;
sub new {
 my $self = {
  localpath => ''
 };
 bless($self);
 return $self;
}
sub update_repository{
 my ($self) = @_;
 my $svn = SVN::Client->new();
 return $svn->update($self->_getPath(), 'HEAD', 1);
}
sub _getPath{
 my ($self) = @_;
 return $self->{localpath};
}
So when i use a script to call the update repository method of this class i get the following error:
Can't locate SVN/Client.pm in @INC (@INC contains: /opt/STS /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /
usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /opt/STS/svn.pm line 7.
I have also tried changing use SVN::Client with use Alien::SVN but with no luck.
Does anyone have a working example of code, or a helpful tip to make the Alien::SVN / SVN::Client work?