Leser: 19
1
2
3
4
5
6
7
8
9
10
11
#!perl
use strict;
use warnings;
use Tk;
my $mw = tkinit();
my $label = $mw->Label(-text => 'Hallo Du!')->pack();
$mw->MainLoop();
2011-03-16T12:03:21 pktmKannst du außerdem in der Konsole mal perl -e "use Tk 999;" eingeben und das Ergebnis hier rein schreiben? (bitte benutze dafür dann die Quote-Tags)
1
2
3
4
Can't locate Tk/Event.pm in @inc <@INC contains:...>
at C:/Perl/lib/Tk.pmline 13.
BEGIN failed--compilation aborted at C:/Perl/lib/Tk.om line 13.
Compilation failed in require at C:\Users\...dir1E60.tmp\untitled line 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
imac20:~ pktm$ perl -v
This is perl, v5.10.0 built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
imac20:~ pktm$
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This is perl 5, version 12, subversion 2 (v5.12.2) built for MSWin32-x86-multi-t
hread
(with 8 registered patches, see perl -V for more detail)
Copyright 1987-2010, Larry Wall
Binary build 1202 [293621] provided by ActiveState http://www.ActiveState.com
Built Sep 6 2010 23:36:03
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
2011-03-16T15:09:32 FuturefloIch hab Perl nur auf Probe bis jetzt, das heißt 120 Zeilen, da wir das von der Schule empfohlen bekommen haben.
2011-03-16T15:25:59 FuturefloDzSoft Perl Editor.
2011-03-16T15:33:08 FuturefloAusführen kann ich mein Programm dann auch mit dem Editor aus deinem Link?