There are now two main cultures in computing: Most computer users treat software as a tool for getting tasks done, while programmers hold conversations with their software. One big challenge when teaching programming, no matter in what language, is getting students used to a conversation-oriented programmer culture, which is very different than a tool-oriented user culture.
Tag Archives: gui
Perl/Tk Tutorial – Create GUI with Perl’s Tk Module
In Unix/Linux you can execute your perl scripts by typing “perl <filename>” at command prompt. But before you do that make sure you have both Perl and its Tk module. Most linux distributions have perl – but quite a few don’t have the Tk module. Make sure that the system you are using have the Tk module. If you don’t have it, go to http://www.cpan.org and download the perl module. Or you can use the perl’s CPAN module to install the Tk module. To do this, open a terminal and enter the following command
perl -MCPAN -e shell
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install Tk