Hi,I am masayoshi. I read the following article. http://perltraining.com.au/tips/2005-11-24.html
A lot of website use the following script to explain file test operators, But I reckon I should not write it for race conditions. Is this right? Thanks in advance. #!/usr/bin/perl use strict; use warnings; my $file = "sample.txt"; if ( -e $file ) { print "File exists.\n"; } else { print "File does not exist.\n"; } __END__ --- masayoshi & Ayumi Kinoshita http://tinyurl.com/63zg3op -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/