On 5/18/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:

Wondering how I can insert a value: "abc|" <w/o the quotes) immediately
after the third "|" (pipe character) in file xyz.txt.

There's more than one way to do it. One way would be a substitution
(s///). Another would be to use split and join: split the line, do
whatever you need to do with the elements, then join the pieces. Would
that work for you?

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to