For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > May 2005 > Bug in Tk::Dervied.pm









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Bug in Tk::Dervied.pm
Tim

2005-05-15, 3:56 am

Sorry, but I am not a frequent user of perl/Tk and could not find a
better way of reporting this problem (email to the address for Nick in
the FAQ is returned 'user unknown').

There is a small coding slip in Derived.pm line 94 (version 4.010)

foreach my $key (%$widget)

should be

foreach my $key (keys %$widget)

This leads to all kinds of strange errors, none near this particular
statement. The amazing thing, however, is how often the code runs with
no symptoms of any problem at all!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com