agent has asked for the wisdom of the Perl Monks concerning the following question:
output is a b c d <SPACE>j k l m n o p q r s t u v w x y z what is wrong in this code ..i am trying to capitalize e, f, h, i Thanks in Advance#!/usr/bin/perl -w @array=(a..z); splice @array,4,5,map(uc,@alpha[4..8]); $,=''; print "@array\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: splice question
by Zaxo (Archbishop) on Nov 06, 2003 at 19:58 UTC | |
by agent (Acolyte) on Nov 06, 2003 at 20:03 UTC | |
by davido (Cardinal) on Nov 07, 2003 at 02:59 UTC | |
|
Re: splice question
by Not_a_Number (Prior) on Nov 06, 2003 at 20:07 UTC | |
by Roy Johnson (Monsignor) on Nov 06, 2003 at 21:46 UTC | |
by Not_a_Number (Prior) on Nov 06, 2003 at 22:41 UTC | |
|
Re: splice question
by Thelonius (Priest) on Nov 06, 2003 at 19:57 UTC | |
by Coruscate (Sexton) on Nov 06, 2003 at 20:26 UTC |