Filehandle in SCALAR and LIST context