Name
select
Synopsis
select filehandle
Returns the currently selected output filehandle,
and if filehandle
is supplied, sets
that as the current default filehandle for output. This has two
effects. First, a write
or a
print
without a filehandle
argument will default to this
filehandle
. Second, special variables
related to output will refer to this output filehandle.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.