diff options
author | Ilya Zakharevich <ilya@math.ohio-state.edu> | 1997-06-09 17:11:58 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-08-07 00:00:00 +1200 |
commit | 4727527e28710e9445cc531c1c8577fe8169520d (patch) | |
tree | f921af826eeb06b51ea8688f1c7fa240f91ed2b5 /pod | |
parent | 9515b481dd5c104b7f2065031c8c3d60c4614a19 (diff) | |
download | perl-4727527e28710e9445cc531c1c8577fe8169520d.tar.gz |
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 <ilya@math.ohio-state.edu> 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
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 409aa21ec0..1badf36eab 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<AutoSplit> the file, say, by +doing C<make install>. + =item Can't locate %s in @INC (F) You said to do (or require, or use) a file that couldn't be found |