Re: Net::SSH (How to split value returned by a system command)

2005-02-02 Thread John W. Krahn
Babale Fongo wrote: This is what I had: @found = remote_cmds ("find $remdir -name '*.zip'"); print "@found" look like this: /path/file1.zip /path/file2.zip /path/file3.zip @found is neither a list nor string, That is correct, it is an array. so it is not handy to deal with. In scalar context, th

Net::SSH (How to split value returned by a system command)

2005-02-02 Thread Babale Fongo
This is what I had: @found = remote_cmds ("find $remdir -name '*.zip'"); print "@found" look like this: /path/file1.zip /path/file2.zip /path/file3.zip @found is neither a list nor string, so it is not handy to deal with. In scalar context, the command returns 1 (true), in list context it r