#!/usr/local/bin/perl5 use strict; my $file = 'simple.pl'; # the program being run! my @syscmd = ('ls' , '-l', $file); warn "@syscmd"; system @syscmd;