Sprad has asked for the wisdom of the Perl Monks concerning the following question:
Here's the code:
open(PIPE, "$CommandToExecute|"); while (<PIPE>) { # <--- This is the line that the error points to print LOG $_; print $_; }
I'm not sure what might be causing this error when I'm just reading a pipe. Like I said, this doesn't happen every time, just occasionally. What can I look for?
---
A fair fight is a sign of poor planning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Modification of a read-only value
by Aristotle (Chancellor) on Aug 21, 2004 at 15:40 UTC | |
by Sprad (Hermit) on Aug 21, 2004 at 16:03 UTC | |
by Aristotle (Chancellor) on Aug 21, 2004 at 16:10 UTC | |
by ikegami (Patriarch) on Aug 22, 2004 at 01:36 UTC | |
by Aristotle (Chancellor) on Aug 22, 2004 at 09:28 UTC | |
|
Re: Modification of a read-only value
by tachyon (Chancellor) on Aug 21, 2004 at 15:38 UTC | |
by Aristotle (Chancellor) on Aug 21, 2004 at 15:43 UTC | |
by tachyon (Chancellor) on Aug 21, 2004 at 15:52 UTC | |
|
Re: Modification of a read-only value
by ysth (Canon) on Aug 22, 2004 at 04:29 UTC |