in reply to Re: Rakudo Star (Perl 6 bundle) now supports MoarVM and JVM backends
in thread Rakudo Star (Perl 6 bundle) now supports MoarVM and JVM backends
use java::util::zip::CRC32:from<java>; my $crc = CRC32.new(); for 'Hello, Java'.encode('utf-8') { $crc.'method/update/(B)V'($_); } say $crc.getValue();
As you can see, it requires an arcane string in place of a regular method name. Aiui jnthn knows what they have to do to fix this (so you can just use a regular method name) but I don't think any core hacker currently has it high on their todo list.
»ö« . o O ( "the celebrity tell-all of the Perl-6 cult?" )
|
|---|