Skip Menu |

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id: 24845
Status: resolved
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors: ctuininga [...] dyndns.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::SSH2::Dir->read doesn't distinguish between files and directories
Date: Thu, 08 Feb 2007 09:58:45 -0500
To: bug-Net-SSH2 [...] rt.cpan.org
From: Cole Tuininga <ctuininga [...] dyndns.com>
Currently, when iterating through the results from Net::SSH2::Dir->read calls, there's no way to tell if the item is a file or a directory. An attribute describing what it is would be quite helpful. Thanks! -- Cole Tuininga Application Developer Dynamic Network Services, Inc http://www.dyndns.com/
As I emailed, there is an easy way to distinguish: check under the 'mode' key in the returned hash.