in reply to using arguments

So "perltst" is some kind of file? You're going to have to open it. See perlintro, Tutorials: Input and Output