[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Curiosity: Perl File Extension in Emacs Config
From: |
Xah Lee |
Subject: |
Re: Curiosity: Perl File Extension in Emacs Config |
Date: |
Fri, 13 Jul 2012 21:10:50 -0700 (PDT) |
User-agent: |
G2/1.0 |
heh, John Bokma!
thanks.
Xah
On Friday, July 13, 2012 12:55:25 PM UTC-7, John Bokma wrote:
> Xah Lee 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