in reply to file handing

Perl can read and write files. See the functions open, read, print and seek. Maybe you can be a bit more specific about what you want to do, then we can be more specific in our replies.