http://www.perlmonks.org?node_id=1018981


in reply to Re^4: Doing an 'ls' in SFTP:Foreign
in thread Doing an 'ls' in SFTP: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?