What does "-e" mean in Perl?

bill

New member
I tried to google it, but got nothing.

the line is

while (-e $path)

So I assume it returns a boolean or something similar.
But what is it checking?
Because it seems to check if the file is there or not, but in my case, the file is no found (yes I'm in the right directory, yes the name is correct) but it should be there.
I'm sorry, that should read:

unless (-e $path)

Also, please read the details, I don't need to know what Perl stands for. I want to know what the tag/command means.
 
Back
Top