in reply to Re: Perl TK GUI!
in thread Perl TK GUI!

Hi, Really odd, you should see the button....i use linux.

So somewhere in my GUI script i call another script in a subfunction, and it's looking like that:

my $name = $ent -> get(); my $log = qx(perl /xx/bgt/structure.pl $path_dir $name);

The problem is that in my $log variable i can't store the output of the script. Do you know an alternative to call a script and store the output into a variable? Thank's. Both of my variables that are used in the script call are defined, the call of the script is good, just that i can;t store the output into a variable

Replies are listed 'Best First'.
Re^3: Perl TK GUI!
by zentara (Cardinal) on Feb 13, 2014 at 12:26 UTC
    The reason the button is missing is the odd $mw size he has, in addition to the bizzare padding values. :-) Take out the geometry line and you may see it.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      nope -- it gets wider but the button still not visible
Re^3: Perl TK GUI!
by Anonymous Monk on Feb 13, 2014 at 12:12 UTC