CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
-f in File checking

 



romcab
Novice

Jun 17, 2008, 10:56 PM

Post #1 of 2 (337 views)
-f in File checking Can't Post

hi guys,

Forgive me if this is a very easy question but i've searched the net but I have no luck in finding the answer. I just want to know what 's the meaning of -f in expression below:

if( -f file )
....


KevinR
Veteran


Jun 18, 2008, 12:19 AM

Post #2 of 2 (335 views)
Re: [romcab] -f in File checking [In reply to] Can't Post

-f is a file test operator. They are explained on this page: http://perldoc.perl.org/functions/-X.html
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives