[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Curiosity: Perl File Extension in Emacs Config
From: |
John Bokma |
Subject: |
Re: Curiosity: Perl File Extension in Emacs Config |
Date: |
Fri, 13 Jul 2012 14:55:25 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Xah Lee <xahlee@gmail.com> writes:
> what's the “.al” for?
"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. If such a
file exists, AUTOLOAD will read and evaluate it, thus (presumably)
defining the needed subroutine. AUTOLOAD will then goto the newly
defined subroutine."
http://perldoc.perl.org/AutoLoader.html
--
John Bokma j3b
Blog: http://johnbokma.com/ Perl Consultancy: http://castleamber.com/
Perl for books: http://johnbokma.com/perl/help-in-exchange-for-books.html