Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: How to execute stat command in remote server

by salva (Abbot)
on Nov 26, 2013 at 10:20 UTC ( #1064385=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to execute stat command in remote server
in thread How to execute stat command in remote server

use Fcntl qw(S_ISREG); ... if (S_ISREG($entry->{a}->perm)) { # entry is a regular file }
See fstat(2) and Net::SFTP::Foreign::Attributes for the details.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1064385]
help
Chatterbox?
[marto]: expensive place to live I'm told
[Happy-the-monk]: very expensive, but high salaries, too :)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-11-19 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (280 votes). Check out past polls.

    Notices?