so, I had PERL installed on my old computer at school. It seemed simple at the time. Then I would just so to my perl directory, type in "myprogram.pl" or whatever and my programs would run. I got a new computer so I installed perl. I copied my program of interest. I went to my new perl directory, but when I type in myprogram.pl it just opens the file in text editor. What am I doing wrong? I don't think I'm too dumb normally, but this just won't work at all.
Please help me so I can use all my old programs.