------------------------------------------------------------- Using Perl/Tk on your own machine ------------------------------------------------------------- First and foremost, get Perl installed on your machine: Windows: http://www.activestate.com/activeperl/downloads/ There are two releases available - 5.10 and 5.8 5.8 contains Tk already installed, and is thus "easier" 5.10 will require you to download and install Tk separately, but is the "better" version of Perl. Take your pick. Unix: You probably already have perl installed on your machine. If not.... http://www.cpan.org/src/stable.tar.gz unzip, untar, Configure -des, make, make test, make install First, check to see if Perl/Tk is already installed on your system: perl -MTk -e 1 If no errors, Tk is installed. Enjoy. If "Can't locate Tk.pm in @INC (@INC contains.... ", you need to install Tk.pm: Windows - Activestate 5.10 Start->run cmd cd \Perl ppm install Tk Unix http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.028.tar.gz unzip, untar, perl Makefile.PL, make, make test, make install Do a simple test to verify all is well: perl -MTk $mw = MainWindow->new; MainLoop; (press CTRL-D (followed by Enter on Windows) ) ------------------------------------------------------------- Using Perl/Tk on the RPI CS dept. computers ------------------------------------------------------------- Go to a CS Lab. Either AE 217 or AE 117. Log in with your CS Account information. Open a console window. Start writing, testing, and running Perl/Tk Applications ------------------------------------------------------------- Using Perl/Tk on the RPI CS dept. computers via your own machine ------------------------------------------------------------- Note: This will be the slowest method. Programs will take a long time to show up on your computer. Obtain an Xserver program. Either Hummingbird Exceed or WinaXe should work. I do not believe Exceed offers a free trial. WinaXe does, but with the caveat that it will automatically shut down after 30 minutes, and you'll have to restart your session. To get WinaXe: http://www.labf.com/download/winaxe.html "Start download WinaXe" Install the program. Start an X Session. Open your SSH client. Make sure SSH forwarding is enabled (you may have to save this preference and restart) In SecureCRT, go to Options->Session Options->Connection->Port Forwarding->X11 and check the box. You must then save settings and restart the session. Connect to solaris.remote.cs.rpi.edu Write, save, and run your Perl/Tk application If you encounter any difficulty installing or starting Perl/Tk, please let us know: perl_TA@cs.rpi.edu