Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

clkao (1687)

clkao
  (email not shown publicly)

Journal of clkao (1687)

Thursday May 26, 2005
09:45 PM

use SVN::Core--Perl5

[ #24897 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.