Subject: | unknown method 'file' |
When calling add_class() on Test::Inline object, was receiving an unknown
method 'file' exception.
Looks like it should be calling class_file() rather than file() on the
input handler object.
Patch attached.
Subject: | inline.patch |
--- /tmp/Inline.pm.orig 2013-02-01 10:00:23.096605118 -0800
+++ Inline.pm 2013-02-01 10:00:36.912673608 -0800
@@ -418,7 +418,7 @@
$self->_verbose("Checking $name\n");
my $files = $options{recursive}
? $self->InputHandler->find( $name )
- : $self->InputHandler->file( $name );
+ : $self->InputHandler->class_file( $name );
return $files unless $files; # 0 or undef
# Add the files