AutoLoader seems to truncate function names for no good reason... Does
someone have insight in this?
The details:
I'm trying to use Mj::MailOut from the latest Majordomo snapshot under
Perl 5.004_04 on Solaris 2.5.1.
The file is autosplit by means of
autosplit("$InstallationTarget.new/lib/$i","$InstallationTarget.new/lib/auto",1,1,1);
This seems to work:
ls -l /u/users/bollow/testinstall/lib/auto/Mj/MailOut
total 16
-rw-r--r-- 1 bollow a-g6 197 Mar 25 13:29 autosplit.ix
-rw-r--r-- 1 bollow a-g6 629 Mar 25 13:29 deliver.al
-rw-r--r-- 1 bollow a-g6 659 Mar 25 13:29 mail_entity.al
-rw-r--r-- 1 bollow a-g6 566 Mar 25 13:29 mail_message.al
-rw-r--r-- 1 bollow a-g6 3172 Mar 25 13:29 welcome.al
However, when mail_entity() calls mail_message(), the autoloader does
not look for mail_message.al but for mail_messag.al which does not exist:
Can't locate /u/users/bollow/testinstall/lib/auto/Mj/MailOut/mail_messag.al in @INC (@INC contains: /usr/local/app/perl/5.004_04/lib/sun4-solaris/5.00404 /usr/local/app/perl/5.004_04/lib /usr/local/app/perl/5.004_04/lib/site_perl/sun4-solaris /usr/local/app/perl/5.004_04/lib/site_perl . /u/users/bollow/testinstall/lib) at /u/users/bollow/testinstall/lib/auto/Mj/MailOut/mail_entity.al line 20
-- NB.
Follow-Ups:
|
|