Subject: | defining classes derived from StringIO failes with NoMethodError exception |
Classes derived from StringIO cause a NoMethodError exception to be thrown when defined. The attached script yields:
#<TypeError: no implicit conversion of NoMethodError into String>
BEGIN failed--compilation aborted at /tmp/test.pl line 4.
Patch forthcoming.
Subject: | test.pl |
#!/usr/bin/env perl
use strict;
use warnings;
use Inline 'Ruby' => <<'EOF';
require 'stringio'
class Test < StringIO
end
EOF