Perlwannabe wrote:
> 
> Basically the script runs and looks for a file in a certain directory.  If
> the file is there, the script continues to run and process the file, but
> if the file is not there the script should just exit.
> 
> Any ideas on how to do this?

open FILE, '<', 'certain/directory/file' or exit $!;


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to