print [
Prints a string or a comma-separated list of strings
to the specified
filehandle
. If no filehandle is given,
the function prints to the currently open filehandle (STDOUT initially).
The function returns If list is also omitted,print { $OK ? "STDOUT" : "STDERR" } "stuff\n"; print { $iohandle[$i] } "stuff\n";
$_
is printed. Note that, because
print
takes a list, anything in the
list
is evaluated in list context.
Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|