in reply to Re^4: How to perform a subroutine run in cpan Tk::ExecuteCommand module
in thread How to perform a subroutine run in cpan Tk::ExecuteCommand module
I'm sorry - I had not read the documentation for Tk::ExecuteCommand.
$cmd is only allowed to be a shell command. So you can only use the following:
my $cmd= "/nfs/work/testing123.pl -text text"; $ec->configure( -command => $cmd ); $ec->update;
Note the double quotes instead of the backticks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to perform a subroutine run in cpan Tk::ExecuteCommand module
by Janish (Sexton) on Jun 25, 2014 at 08:25 UTC | |
by Corion (Patriarch) on Jun 25, 2014 at 08:30 UTC | |
by Janish (Sexton) on Jun 25, 2014 at 08:39 UTC | |
by Corion (Patriarch) on Jun 25, 2014 at 08:41 UTC | |
by Janish (Sexton) on Jun 25, 2014 at 09:15 UTC | |
by RonW (Parson) on Jun 25, 2014 at 16:34 UTC | |
by Janish (Sexton) on Jun 26, 2014 at 02:06 UTC |