in reply to Strange Perl/Tk error

I tested it as is and got the same result as moritz. However, if you add strictures, you'll get a ton of error warnings. Always use strict and use warnings.

Replies are listed 'Best First'.
Re^2: Strange Perl/Tk error
by ivo_ac (Acolyte) on Mar 27, 2010 at 10:42 UTC
    i fixed the errors and warnings in the updated code above, sorry for that.
Re^2: Strange Perl/Tk error
by ivo_ac (Acolyte) on Mar 27, 2010 at 10:36 UTC
    Thanks for testing. I removed Tk and then reinstalled Tk using cpan but it had no effect. Does anyone have an idea how to fix Tk ? Im using Kubuntu 9.10.