in reply to Launching an .exe file from Perl

You could do a quick script like:
my @array = ('paint.exe', 'photo.exe'); foreach (@array){ system($_) or die; }
then you can just put each program into the array and not have a clutter of system calls.

--BigJoe

Replies are listed 'Best First'.
RE: RE: Launching an .exe file from Perl
by le (Friar) on Jul 07, 2000 at 21:45 UTC
    As just mentioned on the chatterbox, you have to say
    system($_) && die $!;
    because system() returns 0 on success.