Hi all.
I'm trying to build a simple SVN app using the subversion supplied perl
SVN bindings, which include all required libs in an SVN directory.
However I'm receiving a strange error, can anyone help?
*Test code: *
use strict;
use warnings;
use Data::Dumper;
use SVN::Client;
$Data::Dumper::Indent = 1;
#my $ctx = new SVN::Client();
my $svn = SVN::Client->new(
auth=>[SVN::Client::get_ssl_server_trust_prompt_provider(\&callback)]);
my $res = $svn->ls("svn://<mypath>","HEAD",0);
print Dumper($res);
sub callback {
my ($cred,$realm,$ifailed,$server_cert_info,$may_save) = @_;
print "Failed with: $ifailed\n";
$cred->accepted_failures($ifailed);
print "Leaving callback\n";
}
*Error: *
Can't locate loadable object for module SVN::_Core in @INC (@INC contains:
C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/lib/SVN/Base.pm line 59
BEGIN failed--compilation aborted at C:/Perl/lib/SVN/Core.pm line 5.
Compilation failed in require at C:/Perl/lib/SVN/Client.pm line 4.
BEGIN failed--compilation aborted at C:/Perl/lib/SVN/Client.pm line 4.
Compilation failed in require at audit.pl line 1.
BEGIN failed--compilation aborted at audit.pl line 1.
Thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>