frazap has asked for the wisdom of the Perl Monks concerning the following question:
And this fails on Linux/Unix with file not found. On my windows box rundisttest path without problems. Pod::Simple::Select is a child class of Pod::Simple and parse_file begins withuse Test::More tests => 5; use lib "../lib"; BEGIN { use_ok( 'Pod::Simple::Select' ); } my $p = Pod::Simple::Select->new (); isa_ok ($p, 'Pod::Simple::Select'); $p->select(["head1", ["NAME", "VERSION"]]); $p->output_hash(); my %h = $p->parse_file("../lib/Pod/Simple/Select.pm");
Any clue ? Thanks frazapsub parse_file { my ( $self, $file ) = @_; tie my @array, 'Tie::File', $file, mode => O_RDONLY; ... $token = $self->{doc}->next; $self->SUPER::parse_file($file); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test::More file not found on unix (updated)
by haukex (Archbishop) on Jun 02, 2017 at 14:31 UTC | |
|
Re: Test::More file not found on unix
by stevieb (Canon) on Jun 02, 2017 at 11:26 UTC | |
|
Re: Test::More file not found on unix
by Anonymous Monk on Jun 02, 2017 at 07:23 UTC | |
by frazap (Monk) on Jun 08, 2017 at 14:13 UTC |