From: Ilya Zakharevich Date: Mon, 9 Jun 1997 05:11:58 +0000 (+1200) Subject: Better "Can't locate auto/%s.al in @INC" error documentation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4727527e28710e9445cc531c1c8577fe8169520d;p=p5sagit%2Fp5-mst-13.2.git Better "Can't locate auto/%s.al in @INC" error documentation Subject: Re: perl 5.004_01 query: did something change relating to IO::Handle In article <1997Jun23.211618.2091741@hmivax>, Ilya Zakharevich wrote: > I *thought* I corrected this message a year or two ago... The patch > was probably lost, but it is very easy to restore it: > > Best, Ilya > > --- ./pod/perldiag.pod.old Mon Jun 9 17:11:58 1997 > +++ ./pod/perldiag.pod Mon Jun 23 18:14:30 1997 > @@ -611,6 +611,12 @@ > localize a package variable of the same name, qualify it with the > package name. > > +=item Can't locate auto/%s.al in @INC > + > +(F) A function (or method) was called in a package which allows autoload, > +but there is no function to autoload. Most probable cause is a misprint > +in a function/method name. > + > =item Can't locate %s in @INC > > (F) You said to do (or require, or use) a file that couldn't be found I think the following variant may be even better: p5p-msgid: 1997Jun24.195847.2091744@hmivax.humgen.upenn.edu --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 409aa21..1badf36 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -628,6 +628,13 @@ lexical variable using "my". This is not allowed. If you want to localize a package variable of the same name, qualify it with the package name. +=item Can't locate auto/%s.al in @INC + +(F) A function (or method) was called in a package which allows autoload, +but there is no function to autoload. Most probable causes are a misprint +in a function/method name or a failure to C the file, say, by +doing C. + =item Can't locate %s in @INC (F) You said to do (or require, or use) a file that couldn't be found