To finish what Thor just said:
* update *
Changed qx to sytsem after thor's comment. It can indeed be done in more ways, but then again, that's Perl :-)
use strict;
my $status = system('C:/PROGRA~1/INTERN~1/IEXPLORE.EXE');
print "Done with ie! after system\n";
my $ieStdOut= qx('C:/PROGRA~1/INTERN~1/IEXPLORE.EXE');
print "Done with ie! after qx\n";
my $ieStdOut= `C:/PROGRA~1/INTERN~1/IEXPLORE.EXE`;
print "Done with ie! after backticks\n";
As soon as ie quits, the next line of code is executed.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
| [reply] [d/l] |
qx and system are not equivalent; qx and backticks are, though. In your code snippet, the (inappropriately named) $status will contain whatever is output to standard out by internet explorer. Other than that, though, it should work. :)
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come
| [reply] |