in reply to Filehandle problem
What is the variable $required_line for? What are in $signal[1|2] My guess is that this is a fragment of a larger script. Can you give an example of some input lines as well please?
Why are you using $1 as the variable to write? What do you think happens to this variable during pattern match failure?
Cheers,
R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Filehandle problem
by amma (Novice) on May 07, 2013 at 11:22 UTC | |
by Random_Walk (Prior) on May 07, 2013 at 11:28 UTC | |
by amma (Novice) on May 07, 2013 at 11:38 UTC | |
by Random_Walk (Prior) on May 07, 2013 at 11:55 UTC | |
by jnyman (Acolyte) on May 08, 2013 at 07:38 UTC |