diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-20 19:48:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-20 19:48:02 +0000 |
commit | e9c56f9ba521e0a84f6515d616ba85a283fa36a6 (patch) | |
tree | 45b922c264f5babfa9be80707010cb34ca1aa4dd /pod | |
parent | fe05f414dc2736b7e4c675216dbc738157188851 (diff) | |
download | perl-e9c56f9ba521e0a84f6515d616ba85a283fa36a6.tar.gz |
"pseudo-literal j", a documentation glitch reported to Debian.
The text recovered from Perl 5.005_03, and pseudo-literal replaced
by "backtick string".
p4raw-id: //depot/perl@8860
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlop.pod | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index 9d67cfe238..d4349aeff7 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1578,19 +1578,19 @@ There are several I/O operators you should know about. A string enclosed by backticks (grave accents) first undergoes double-quote interpolation. It is then interpreted as an external command, and the output of that command is the value of the -pseudo-literal, j -string consisting of all output is returned. In list context, a -list of values is returned, one per line of output. (You can set -C<$/> to use a different line terminator.) The command is executed -each time the pseudo-literal is evaluated. The status value of the -command is returned in C<$?> (see L<perlvar> for the interpretation -of C<$?>). Unlike in B<csh>, no translation is done on the return -data--newlines remain newlines. Unlike in any of the shells, single -quotes do not hide variable names in the command from interpretation. -To pass a literal dollar-sign through to the shell you need to hide -it with a backslash. The generalized form of backticks is C<qx//>. -(Because backticks always undergo shell expansion as well, see -L<perlsec> for security concerns.) +backtick string, like in a shell. In scalar context, a single string +consisting of all output is returned. In list context, a list of +values is returned, one per line of output. (You can set C<$/> to use +a different line terminator.) The command is executed each time the +pseudo-literal is evaluated. The status value of the command is +returned in C<$?> (see L<perlvar> for the interpretation of C<$?>). +Unlike in B<csh>, no translation is done on the return data--newlines +remain newlines. Unlike in any of the shells, single quotes do not +hide variable names in the command from interpretation. To pass a +literal dollar-sign through to the shell you need to hide it with a +backslash. The generalized form of backticks is C<qx//>. (Because +backticks always undergo shell expansion as well, see L<perlsec> for +security concerns.) In scalar context, evaluating a filehandle in angle brackets yields the next line from that file (the newline, if any, included), or |