Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Insert lines into specific stanza line

by oko1 (Deacon)
on Aug 13, 2010 at 19:34 UTC ( #854991=note: print w/replies, xml ) Need Help??

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

Unfortunately, your code is incorrect, and will produce the following output:

<stanza> sl1 this is my line sl2 justanotherline </stanza> sl3 yet another line </stanza>

Also, there's no newline at the last line of the above, so any subsequent additions will not be correctly formatted.

"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://854991]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2016-10-26 09:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (338 votes). Check out past polls.