this is better, i just wanted to be smart :-) #!perl @command = ('echo 1', 'echo 2', 'echo 3'); -f "/dir$_/file/search/filename" || system($command[$_-1]) for 1..3
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]