in reply to Perl Simple Games Pack
the single file tkgamepack.kit is run with "tclkitsh", so this is run with 2 files, but actually single-file executable is also possible.
This is not Perl, but Tcl could be very tightly tied to Perl with a Tcl-Tk CPAN module.
To say from a little different perspective - I, personally, write perl+Tcl/Tk code in a such way:
so if I would implement your idea I would heavily base on said tkgamepack.kit file.$interp->Eval(<<'EOS'); # here goes Tcl/Tk code to construct GUI interface EOS # and here goes perl/Tk text to use my widgets $text->insert('end','text');
update: fix 2 typos
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Simple Games Pack
by sir_lichtkind (Friar) on Sep 19, 2008 at 12:41 UTC | |
by vkon (Curate) on Sep 19, 2008 at 13:19 UTC | |
by sir_lichtkind (Friar) on Sep 19, 2008 at 15:36 UTC |