http://qs321.pair.com?node_id=1018939


in reply to Re^2: Doing an 'ls' in SFTP:Foreign
in thread Doing an 'ls' in SFTP:Foreign

I haven't used these packages, but the man page for Net::SFTP says ls returns a list of entries, while Net::SFTP::Foreign says it returns a reference to a list of entries.

fnord

Replies are listed 'Best First'.
Re^4: Doing an 'ls' in SFTP:Foreign
by StarkRavingCalm (Sexton) on Feb 15, 2013 at 20:35 UTC

    Maybe Salvo knows how to format the line to work with Foreign?

      Have you read the documentation to Net::SFTP::Foreign? It's pretty clear. 'ls' returns a reference to a list of entries. Do you know what that means? Do you need to read perlref and/or perlreftut?