Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by hippo (Bishop)
on Dec 03, 2021 at 10:11 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-05-23 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?