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