ptksh+ - Simple perl/Tk shell that uses the Gnu Readline features
% ptksh+ ptksh+> $b=$mw->Button(-text=>'hello',-command=>sub{print STDERR 'hello'}) ptksh+> $b->pack; ptksh+> ... ptksh+> ^D %
This (very) simple perl/Tk shell allows you to enter perl/Tk commands interactively. Additionally it supports command line editing and keeps a history of previously entered commands. It requires Term-Readline-Gnu to be installed.
Term-Readline-Gnu
You can exit ptksh+ with ^D or using your Window Manager 'Close' item.
Term::Readline, Term::Readline::Gnu, Tk, perldebug
Achim Bohnet <ach@mpe.mpg.de>, URL:http://www.xray.mpe.mpg.de/~ach/
Copyright (c) 1996-1997 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Term::ReadLine::Gnu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::ReadLine::Gnu
CPAN shell
perl -MCPAN -e shell install Term::ReadLine::Gnu
For more information on module installation, please visit the detailed CPAN module installation guide.