[MINC-users] Bug in MNI Perl routines
Andrew Janke
a.janke at gmail.com
Tue Dec 12 00:47:38 EST 2006
Hi Kent,
First, just checking that you realise that AutoLoader.pm is part of
the base perl distribution and has nothing to do with MINC.
I suspect that what you are seeing is a problem caused by some missing
dependency. What was the error message that led you to this bit of
code?
a
On 12/7/06, conover <Kent.Conover at concordia.ca> wrote:
> Hi Everybody,
>
> There seems to be a bug in the Perl module "AutoLoader.pm" in that it
> fails to recognize my operating system as that of Mac OS X:
>
> Here is the code segment:
>
> if (defined($filename = $INC{"$pkg.pm"})) {
> if ($is_macos) {
> $pkg =~ tr#/#:#;
> $filename =~ s#^(.*)$pkg\.pm\z#$1auto:$pkg:$func.al#s;
> } else {
> $filename =~ s#^(.*)$pkg\.pm\z#$1auto/$pkg/$func.al#s;
> }
>
> Upon evaluating "if ($is_macos)", this routine jumps to the "else"
> condition. I suspect that I need to modify the file separators that
> define the $filename string somehow. I would appreciate your insights.
>
> Regards,
> -Kent
--
Andrew Janke (a.janke at gmail.com || http://a.janke.googlepages.com/)
Canada->Montreal Cell: +1 (514) 924 2012
More information about the MINC-users
mailing list