in reply to Re^2: Insert lines into specific stanza line
in thread Insert lines into specific stanza line

Please show enough code to establish context. I suspect that you're failing to define $ip (that's the only variable I see being used in a regex, and so the only place where you could have an uninitialized value in one), but since you've only showed this tiny snippet, there's no way for me to tell what else is wrong. There may also be other things wrong with your script, and I don't want to shoot in the dark.


--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf
  • Comment on Re^3: Insert lines into specific stanza line