for (@ARGV) { if( -f $_ ) { unless( fork ) { system($cmdname, $_) == 0 or die; } } }