amelinda has asked for the wisdom of the Perl Monks concerning the following question:
#Foo/Foo.pm did not return a true value File 'executable/perl/file'; Line 1 # BEGIN failed - compilation aborted File 'executable/perl/file'; Line 1 ... propagated File 'executable/perl/file'; Line 2
I am at a loss. I've never touched MacPerl before. Any ideas or wisdom?
use Foo::Foo qw(declare_text); use File::WalkTree; use strict; require 'env.pl'; # ... do some stuff exit; __END__
And here is part of Foo::Foo:
package Foo:Foo; use strict; # ... a buncha stuff here sub declare_text { # noop if this isn't under MacPerl if($MacPerl::Version) { foreach my $item (@_) { &MacPerl::SetFileInfo('R*ch', 'TEXT', $item); } } return; } #... more stuff 1; __END__
I'm kind of concerned about the lack of a shebang in the .plx file, but that could just be a MacPerl weirdness.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: MacPerl lies -
by chipmunk (Parson) on Nov 20, 2001 at 09:36 UTC | |
by amelinda (Friar) on Nov 20, 2001 at 22:10 UTC | |
by pudge (Sexton) on Apr 15, 2002 at 15:41 UTC | |
Re: MacPerl lies -
by belg4mit (Prior) on Nov 20, 2001 at 09:07 UTC |