http://qs1969.pair.com?node_id=824359

venkatperl55 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Replacing with two digits with pipe
by ramlight (Friar) on Feb 20, 2010 at 11:41 UTC
    For this problem, you might want to look at the functions split, substr, and join.
Re: Replacing with two digits with pipe
by zentara (Archbishop) on Feb 20, 2010 at 11:59 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Replacing with two digits with pipe
by 7stud (Deacon) on Feb 20, 2010 at 12:35 UTC
    Ahh. You want to hire a programmer. Ok, send $200 to my Paypal account, and then I'll get started.
      I'll bid $100. I'm hungry.

        I bid $50. I live in Detroit, and I'm really, really hungry.

Re: Replacing with two digits with pipe
by ikegami (Patriarch) on Feb 20, 2010 at 18:48 UTC
    Read and parse each row using Text::CSV_XS or whatever, then split the field as follows, then reassemble and output the row using the mentioned module or whatever.
    splice(@fields, 15, 1, split(//, $fields[15]));