in reply to Re: Jammed FH pipe
in thread Jammed FH pipe
fails with an error: Can't use an undefined value as filehandle reference at testSnmp2.pl line 192.$pid = open( my $fr_child, '-|', @cmd) or die("Can't launch $cmd[0]: $!\n");
Tweaked to look like this
The open succeeds, but I get this error from the child proc$pid = open( my $fr_child, '-|', $snmpCmd) or die("Can't launch $cmd[0]: $!\n");
and I get no data back.Child exited successfully !!!! Illegal seek / 0 /
Tweaked again to be
I get the following response: Can't wait for child: with an $? value of 256.$pid = open( my $fr_child, $snmpCmd) or die("Can't launch $cmd[0]: $!\n");
If it helps, I'm running on Solaris 8.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Jammed FH pipe
by ikegami (Patriarch) on Oct 07, 2009 at 22:57 UTC | |
|
Re^3: Jammed FH pipe
by cdarke (Prior) on Oct 08, 2009 at 07:20 UTC |