select
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 aprint
without a filehandle argument will default to this filehandle. Second, special variables related to output will refer to this output filehandle.