Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
When i print array each element is separated by whitespace. Is it possible to eliminate the white space characters stored in @array? Thanksif (rule) {push @array,"1";} if (rule) {push @array,"2";} if (rule) {push @array,"3";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: remove whitespace from an array
by tlm (Prior) on Aug 03, 2005 at 11:52 UTC | |
|
Re: remove whitespace from an array
by gellyfish (Monsignor) on Aug 03, 2005 at 12:05 UTC | |
|
Re: remove whitespace from an array
by blazar (Canon) on Aug 03, 2005 at 12:06 UTC | |
|
Re: remove whitespace from an array
by bangers (Pilgrim) on Aug 03, 2005 at 12:07 UTC | |
by blazar (Canon) on Aug 03, 2005 at 13:16 UTC | |
by bangers (Pilgrim) on Aug 03, 2005 at 14:03 UTC | |
by Anonymous Monk on Aug 03, 2005 at 12:56 UTC | |
by blazar (Canon) on Aug 03, 2005 at 13:35 UTC |