in reply to blank string returned from piped command
withopen(WEBOS,"$com|"); $com = join('', <WEBOS>); close(WEBOS);
Does anything change?open(WEBOS,"$com|") or die "Cannot run $cmd : $!" ; $com = join('', <WEBOS>); close(WEBOS) or die "$cmd closed with bad status: $! $?";
|
|---|