in reply to Confused Newbie
That shabang line should be #!/usr/bin/perl.
It sounds like you're launching this from a GUI instead of a terminal. You really need to start up an xterm, make your way to the program's directory, and run it from there.
Bask in the glory of the command line. It's one of the reasons why GNU/Linux is so much nicer to work with.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|