in reply to *foo{THING}
*foo{FORMAT} is only available from 5.7.0 on. *foo{FILEHANDLE} is a deprecated version of *foo{IO}.