use SVN::Core--Perl5

clkao on 2005-05-27T02:45:49

Autrijus and I have been hacking a bit. The following code now works:

use SVN::Core--Perl5;
use SVN::Client--Perl5;

say SVN::Core.VERSION; SVN::Client.new.log('http://svn.openfoundry.org/pugs' , 'HEAD', 'HEAD', 0, 1, sub { say join(',', @_) });



It shows you the latest commit of pugs.

What's the big deal? Well,
  • It's Perl6
  • It uses an XS Perl5 module, SVN::Core
  • The method (log) has a callback written in Perl6.


That means you can start using Perl6 to write code gluing cpan modules.