lakssreedhar has asked for the wisdom of the Perl Monks concerning the following question:
i have a 2 column like this
I need to print the column1 as a row outside the while loop so i usedi o am o 2 o ( o but o ) o . o how o
where @first_sentence contains the 1st column .But the output is i am 2 ( but ) . how.I dont need spaces before and after brackets or dot symbol.push @first_sentence,$arr[0]; }print join ' ',@first_sentence;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: remove spaces after join operation
by mtmcc (Hermit) on Jul 26, 2013 at 11:15 UTC | |
Re: remove spaces after join operation
by 2teez (Vicar) on Jul 26, 2013 at 13:54 UTC | |
Re: remove spaces after join operation
by AnomalousMonk (Archbishop) on Jul 26, 2013 at 14:41 UTC | |
Re: remove spaces after join operation
by Loops (Curate) on Jul 26, 2013 at 11:17 UTC | |
by lakssreedhar (Acolyte) on Jul 26, 2013 at 11:27 UTC | |
by Loops (Curate) on Jul 26, 2013 at 11:37 UTC | |
by lakssreedhar (Acolyte) on Jul 27, 2013 at 04:38 UTC | |
Re: remove spaces after join operation
by Anonymous Monk on Jul 26, 2013 at 11:16 UTC |
Back to
Seekers of Perl Wisdom