Thank you choroba, yes, I more or less knew that, but I thought that enclosing the array item between curlies was enough to solve the issue. I was obviously wrong on that.
I've used this syntax with curly brackets for writing to filehandles, quite obviously not for reading from a filehandle, contrary to what I thought to remember.