in reply to Re^2: Read Pipe, Never Enters While Loop
in thread Read Pipe, Never Enters While Loop
What fails is your call to open.
If you don't check that, you will wonder forever why Perl does not seem to read from that file.
What works is your call to ->cmd, but that doesn't return a filehandle but the output of the command you run on the remote end.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Read Pipe, Never Enters While Loop
by ImJustAFriend (Scribe) on Jun 05, 2017 at 13:03 UTC | |
by ImJustAFriend (Scribe) on Jun 05, 2017 at 13:54 UTC |