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
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