I made my first perl script. I can run it on the computer science server, and it will “submit” a lab for me. Whenever we have a lab due in computer science 201, we have to log into the server and run a submit command. The submit program runs the Makefile, gives the program some input and tests the output. If the output is what it expects, it says congratulations, otherwise it says what the output should be. My perl script looks at what the output should be, and makes the files so that it produces the correct output. In case you were wondering, the script is here.
Reminds me of the time… er, wait….
Good job though.
~Ryan
looks like you left some dead code in the perl script writing the main program as int main() {return 0;}
I have to have that in there so that when I submit it, it will compile correctly. If it does not compile, the submit command will stop before it prints what the output should be.