in reply to Re^2: SFTP Foreign Issues using $sftp->ls
in thread SFTP Foreign Issues using $sftp->ls
Actually the module has a glob method:
Yes I know but the title of the OP was about ls() and the OP is using glob style wildcards in a regex in the ls(). I don't feel like rewriting a long convoluted script when the OP needs to try a few simple things and get something working.
And the glob method returns the same style reference to an array of hashes. The OP was incorrectly dereferencing the data structure returned from ls which I pointed out and you did not. Do you think they would do it correctly for glob or find or something else?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SFTP Foreign Issues using $sftp->ls
by salva (Canon) on Mar 01, 2016 at 20:14 UTC | |
by Lotus1 (Vicar) on Mar 01, 2016 at 20:42 UTC | |
by salva (Canon) on Mar 01, 2016 at 21:38 UTC |