in reply to Array indexing and string manipulation
my @array = ("|", "|", "|", "|", "", "|", "|"); print join '', map { my $foo = shift @array ? $_ : lc } split '', 'ASD +FGHJ';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Array indexing and string manipulation
by tobyink (Canon) on Mar 26, 2012 at 16:33 UTC | |
|
Re^2: Array indexing and string manipulation
by Anonymous Monk on Mar 26, 2012 at 16:34 UTC | |
|
Re^2: Array indexing and string manipulation
by Anonymous Monk on Mar 27, 2012 at 10:37 UTC |