in reply to how to hide the Tk widgets

#!/usr/bin/perl use warnings; use strict; use Tk; my $top = new MainWindow; my $txt = $top->Scrolled("Text")->pack; $top->Button(-text => "packForget", -command => sub{ my @w = $top->packSlaves; foreach (@w) { $_->packForget; } })->pack(); $top->Button(-text => "Exit", -command => sub {exit})->pack; MainLoop; __END__

I'm not really a human, but I play one on earth. flash japh