in reply to perl open readonly question
See open:
... If MODE is '<' or nothing, the file is opened for input. ...