Aug 19, 2009, 5:13 AM
Post #1 of 4
Hi! I'm trying to understand a perl script. There are some switches (I guess) used, and I can't seem to find their role/use.
-e and -s switches?
The code looks like:
my $filename ="doc";
my $filename1 = -s $filename;
while( -e $filename && $filename1 == -s $filename )
What is the role or use of -e and -s?