batkins has asked for the wisdom of the Perl Monks concerning the following question:

two mostly unrelated questions follow:

1. how do i share variables using the new forks module on CPAN? the docs say that the "shared" attribute doesn't work....

2. how do i programmatically minimize a Tk window?

thanks, monks!

Replies are listed 'Best First'.
Re: forks and Tk minimizing
by tall_man (Parson) on Jan 30, 2003 at 23:32 UTC
    I can only help on the second question.
    How do i programmatically minimize a Tk window?
    $win->withdraw();
      I think  $win->iconify is better, cause you can get the widget back by  $win->deiconify
      ----------------------------------- --the good, the bad and the physi-- -----------------------------------