diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-20 22:58:34 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-20 23:08:30 +0100 |
commit | 6e764e36cf6a7c109e74ca4ccafbba27a0b422cd (patch) | |
tree | acf2695b5e0c52ab730f5dcf354aa047577a9fd0 | |
parent | 573edd37603ddf5d0137224a22fa2ec4915388fe (diff) | |
download | perl-6e764e36cf6a7c109e74ca4ccafbba27a0b422cd.tar.gz |
perldebguts: fix documentation for ${"_<$filename"}
The `gv_fetchfile()` functions has set the scalar slot to `$filename`
since it was added in 5.0 alpha 2 (commit
79072805bf63abe5b5978b5928ab00d360ea3e7f), but the documentation,
added in 5.003_11 (commit 36477c247f3c188fb8cc7e276c87b739d3e6ab7c)
erroneously claims the value is `_<$filename`.
In passing add C<> around second mention of `filename`.
-rw-r--r-- | pod/perldebguts.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldebguts.pod b/pod/perldebguts.pod index cc908393cf..3c7b7c0d8a 100644 --- a/pod/perldebguts.pod +++ b/pod/perldebguts.pod @@ -56,9 +56,9 @@ looks like C<(eval 34)>. =item * -Each scalar C<${"_<$filename"}> contains C<"_<$filename">. This is +Each scalar C<${"_<$filename"}> contains C<$filename>. This is also the case for evaluated strings that contain subroutines, or -which are currently being executed. The $filename for C<eval>ed +which are currently being executed. The C<$filename> for C<eval>ed strings looks like C<(eval 34)>. =item * |