Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and I want to insert "hello" in index 2 i.e. between "b" and "c", how can I do that?@fred = ( "a", "b", "c" );
Thank you in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: inserting elements in an array
by osunderdog (Deacon) on Feb 02, 2005 at 23:41 UTC | |
by Xenograg (Scribe) on Feb 02, 2005 at 23:51 UTC | |
by davido (Cardinal) on Feb 03, 2005 at 00:19 UTC | |
|
Re: inserting elements in an array
by brian_d_foy (Abbot) on Feb 03, 2005 at 01:14 UTC | |
|
Re: inserting elements in an array
by ambrus (Abbot) on Feb 03, 2005 at 20:13 UTC | |
by ysth (Canon) on Feb 03, 2005 at 23:30 UTC |