Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to install Perl/TK ?

113 views
Skip to first unread message

Ed Purcell

unread,
Sep 14, 2000, 3:00:00 AM9/14/00
to
I've been using ActiveState Perl on a Win NT
computer for almost one year, but now I need to add
some GUI features to my Perl programs.

I've picked up and studied the "Learning Perl/Tk" book
by Nancy Walsh. Though not a visual development
environment (a la Visual Basic), the text-oriented
Perl/Tk should do the job.

However, ActiveState does not appear to offer
Perl/Tk (Visual Perl forthcoming).

And in the clutter of hundreds of Perl/Tk modules
listed at the CPAN sites I haven't found
a simple Perl/Tk installation procedure.

Any pointers to a simple installation procedure
for Perl/Tk in a Win NT computer would be greatly appreciated.

Thank you.


Thomas L. Shinnick

unread,
Sep 14, 2000, 3:00:00 AM9/14/00
to
On 14 Sep 00 19:11:37 GMT, pur...@Feline.cad.ucla.edu (Ed Purcell) wrote:
>I've been using ActiveState Perl on a Win NT
>computer for almost one year, but now I need to add
>some GUI features to my Perl programs.
>
>I've picked up and studied the "Learning Perl/Tk" book
>by Nancy Walsh. Though not a visual development
>environment (a la Visual Basic), the text-oriented
>Perl/Tk should do the job.
>
>However, ActiveState does not appear to offer
>Perl/Tk (Visual Perl forthcoming).

http://www.activestate.com/Support/ActivePerl/PPM.html
"PPM, the Perl Package Manager"

"PPM is included with every ActivePerl release. It is a tool that
allows you to install, remove, upgrade and otherwise manage the
use of common Perl CPAN modules (like Tk and DBI) with ActivePerl."
^^

"PPM makes use of versions of CPAN modules that are pre-compiled
for a particular ActivePerl platform, freeing you from the need to
have tools like 'make' and a C compiler in order to make use of the
wide variety of modules available on CPAN."

>And in the clutter of hundreds of Perl/Tk modules
>listed at the CPAN sites I haven't found
>a simple Perl/Tk installation procedure.
>
>Any pointers to a simple installation procedure
>for Perl/Tk in a Win NT computer would be greatly appreciated.

M:\>ppm
PPM interactive shell (1.0.0) - type 'help' for available commands.
PPM> search tk
Packages available from http://www.ActiveState.com/packages:
Tk
Tk-GBARR
Tk-JPEG
Tk-Multi
Tk-ObjScanner
PPM> summary tk
Tk [800.022]: Tk - a Graphical User Interface Toolkit
PPM> install tk
Install package 'tk?' (y/N): y
Retrieving package 'tk'...

[much output snipped]

Installing M:\Perl\site\lib\Tk\X.pm
Installing M:\Perl\site\lib\Tk\X11Font.pm
Installing M:\Perl\site\lib\Tk\Xlib.pm
Installing M:\Perl\site\lib\Tk\Xrm.pm
Installing M:\Perl\site\lib\Tk.pm
Installing M:\Perl\site\lib\Tk.pod
Installing M:\Perl\bin\ptked
Installing M:\Perl\bin\ptked.bat
Installing M:\Perl\bin\ptksh.bat
Installing M:\Perl\bin\widget
Installing M:\Perl\bin\widget.bat
Writing M:\Perl\site\lib/auto/Tk/.packlist
PPM> quit
Quit!

M:\>widget

>Thank you.

Enjoy!

--
I'm a pessimist about probabilities; I'm an optimist about possibilities.
Lewis Mumford

Stefan Fournier

unread,
Sep 15, 2000, 3:00:00 AM9/15/00
to
tshi...@io.com (Thomas L. Shinnick) wrote in
<qgb2ssgpruhlf57pp...@4ax.com>:

>On 14 Sep 00 19:11:37 GMT, pur...@Feline.cad.ucla.edu (Ed Purcell) wrote:
>>I've been using ActiveState Perl on a Win NT
>>computer for almost one year, but now I need to add
>>some GUI features to my Perl programs.
>>
>>I've picked up and studied the "Learning Perl/Tk" book
>>by Nancy Walsh. Though not a visual development
>>environment (a la Visual Basic), the text-oriented
>>Perl/Tk should do the job.
>>
>>However, ActiveState does not appear to offer
>>Perl/Tk (Visual Perl forthcoming).
>
>http://www.activestate.com/Support/ActivePerl/PPM.html
>"PPM, the Perl Package Manager"
>
>"PPM is included with every ActivePerl release. It is a tool that
>allows you to install, remove, upgrade and otherwise manage the
>use of common Perl CPAN modules (like Tk and DBI) with ActivePerl."
> ^^

Make sure that you've got the latest release of activeperl,
currently 617. I had problems with ppm of 613.

Cheers,
Stefan

--
Stefan....@gmx.de

0 new messages