Paul Howarth <paul(a)city-fan.org> writes:
Marius Feraru wrote:
[...]
> $ man AutoLoader
> ...
> DESCRIPTION
> ...
> AutoLoader implements an AUTOLOAD subroutine. When an undefined
> subroutine in is called in a client module of AutoLoader, AutoLoader's
> AUTOLOAD subroutine attempts to locate the subroutine in a file with a
> name related to the location of the file from which the client module
> was read.
> As an example, if POSIX.pm is located in
> /usr/local/lib/perl5/POSIX.pm, AutoLoader will look for perl subroutines
> POSIX in /usr/local/lib/perl5/auto/POSIX/*.al, where the ".al"
> file has the same name as the subroutine, sans package.
So it would appear that perl-MailTools does this correctly:
/usr/lib/perl5/vendor_perl/5.8.8/Mail/Internet.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/Util.pm
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/_prephdr.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/add_signature.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/autosplit.ix
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/escape_from.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/nntppost.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/reply.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/send.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/sign.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/smtpsend.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Internet/unescape_from.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Util
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Util/autosplit.ix
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Util/mailaddress.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Util/maildomain.al
/usr/lib/perl5/vendor_perl/5.8.8/auto/Mail/Util/read_mbox.al
Robin, is it OK for me to reopen #73970 and then mark #213561 as a
duplicate of that since I don't think I can reassign an Extras bug to
a Core component i.e. perl.
Personally, I'd rather a new bug since #73970 has a lot of
back-and-forth in it, and takes a few minutes for someone to read
through and understand what's going on. But I'll still fix it if you
just reopen #73970. :-)
Thanks,
-RN
--
Robin Norwood
Red Hat, Inc.
"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching