in reply to tk frame packing showing inconsistent behaviour

You're missing a  my( $hl, $path, $tool, $usr, $data, $general ) = @_; Instead of

sub _insertData { my $path = shift; my $tool = shift; my $usr = shift; ... $hl->itemCreate($path,0,-text=> $data->{$usr}->{$tool}->{feature}, +-style => $general);

You're creating a sub that takes arguments, so pass it all the variables its using

  • Comment on Re: tk frame packing showing inconsistent behaviour (Variable "$hl" will not stay shared at)
  • Select or Download Code