What does if( -f ) in Perl do?

后端 未结 5 2128
谎友^
谎友^ 2021-02-05 03:10

I came across this line of code:

if( -f  ) { ... }

-f appears to test whether the filename exists or not, but I am

5条回答
提交回复
热议问题