Subject: | new fails from Perl when overridden in Ruby |
Classes that define an instance method named "new" can't be constructed from Perl.
The attached file yields:
Subroutine new redefined at (eval 5) line 326.
Subroutine new redefined at (eval 7) line 342.
Subroutine new redefined at (eval 8) line 354.
Object is not a wrapped Inline::Ruby::Object object at (eval 7) line 344.
Patch forthcoming.
Subject: | test.pl |
#!/usr/bin/env perl
use strict;
use warnings;
use Inline 'Ruby' => <<'EOF';
require 'digest'
EOF
my $foo = Digest::Class->new();