View Full Version : URGENT: How do I run Perl scripts in terminal???

April 3rd, 2007, 11:01 AM
G'day All,

I'm trying to finish an assignment and have to test the scripts I've written, and don't
want to go into Windoze to work on them.

Assignment is due tomorrow of course. For some reason I though I could just run
them natively.

How do I get the Perl scripts to run in a terminal window?


April 3rd, 2007, 11:17 AM
first solution
perl /path/to/the/script.pl

second solution, if you want to execute it like any other command
write this at first line in your script

then, change the executable bit
chmod +x script.pl

then you can execute it