Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Detecting if a folder is a symbolic link

by hippo (Bishop)
on Dec 03, 2021 at 10:11 UTC ( [id://11139354]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Detecting if a folder is a symbolic link
in thread Detecting if a folder is a symbolic link

It refers to the previous call to stat or other file test. Using the underscore saves a useless second call.

If stat is passed the special filehandle consisting of an underline, no stat is done, but the current contents of the stat structure from the last stat, lstat, or filetest are returned.

🦛

  • Comment on Re^3: Detecting if a folder is a symbolic link

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found