in reply to Re: Opening Apps
in thread Opening Apps

do like what was suggested before:
my $val1=`notepad.exe`; my $val2=`program2.exe`; . . .
or put the names of the programs into a txt file and run through it.
***progs.txt**** notepad.exe paint.exe . . .
then have a script to do this
open(INPUTFILE, "progs.txt"); while(<INPUTFILE>){ $val=`print`; }
This was not tested but would be where I would start.

--Big Joe

Replies are listed 'Best First'.
RE: RE: Re: Opening Apps
by le (Friar) on Jun 07, 2000 at 01:22 UTC
    I don't think that this works
    open(INPUTFILE, "progs.txt"); while(<INPUTFILE>){ $val=`print`; }
    because I don't think you can issue a perl print inside of backticks.
      How About?
      open(INPUTFILE, "progs.txt"); while(<INPUTFILE>){ $val=`$_`; }