Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Here '+' character is removed from the entire line. I just want to remove the middle one. Any help is appreciated#!/usr/bin/perl while(<DATA>){ s/\+//g; print $_; } __DATA__ + 5 + 45 +
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: character from middle
by Utilitarian (Vicar) on Sep 01, 2009 at 09:10 UTC | |
|
Re: character from middle
by jwkrahn (Abbot) on Sep 01, 2009 at 09:26 UTC | |
|
Re: character from middle
by JavaFan (Canon) on Sep 01, 2009 at 09:53 UTC | |
|
Re: character from middle
by ig (Vicar) on Sep 01, 2009 at 13:48 UTC | |
|
Re: character from middle
by arun_kom (Monk) on Sep 01, 2009 at 09:26 UTC | |
by Utilitarian (Vicar) on Sep 01, 2009 at 09:35 UTC |