See fstat(2) and Net::SFTP::Foreign::Attributes for the details.use Fcntl qw(S_ISREG); ... if (S_ISREG($entry->{a}->perm)) { # entry is a regular file }
In reply to Re^3: How to execute stat command in remote server
by salva
in thread How to execute stat command in remote server
by qsl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |