develooper Front page | perl.perl5.porters | Postings from November 2010

Re: Autoloader error

Thread Previous
From:
Leon Timmermans
Date:
November 29, 2010 10:33
Subject:
Re: Autoloader error
Message ID:
AANLkTi=oSA_rS-=dGpYO5b5jtmE9k03OeM0L6kaL8E96@mail.gmail.com
On Mon, Nov 29, 2010 at 6:27 AM, ankit shukla
<ankit.shukla1105@gmail.com> wrote:
> I installed autoloader for one of my tasks and thereafter I keep getting
> this error for any PERL file I execute:

First of all, the module is called AutoLoader, not autoloader. Perl is
case sensitive (though Windows is not, this might somehow be the cause
of your problem).

Secondly, the language is called Perl, not PERL. It's considered a bit
of a faux pas to fully capitalize it.

Thirdly, this mailing list is not intended for help questions like
this, but for the development of perl itself. I would recommend you to
go to perlmonks, stackoverflow or comp.lang.perl.misc for further
questions.

Fourthly, I would personally recommend against using AutoLoader in
your own modules unless you're absolutely sure you need it and
understand the side-effects of it. You're probably not writing a new
POSIX.pm and if you are you probably shouldn't.

Leon

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About