From: Jarkko Hietaniemi Date: Tue, 20 Feb 2001 19:48:02 +0000 (+0000) Subject: "pseudo-literal j", a documentation glitch reported to Debian. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9c56f9ba521e0a84f6515d616ba85a283fa36a6;p=p5sagit%2Fp5-mst-13.2.git "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 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 9d67cfe..d4349ae 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 for the interpretation -of C<$?>). Unlike in B, 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. -(Because backticks always undergo shell expansion as well, see -L 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 for the interpretation of C<$?>). +Unlike in B, 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. (Because +backticks always undergo shell expansion as well, see L 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