See open:
... If MODE is '<' or nothing, the file is opened for input. ...
In reply to Re: perl open readonly question by Corion in thread perl open readonly question by renegadex