LanX has asked for the wisdom of the Perl Monks concerning the following question:
I offered 2 answers now, but I'm not sure which one is the "preferable" style...(in the sense of maintainability, stability, sideeffects, readability,...)
thats what splice() is for...
splice without splice()
what do you think is better?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "Good" style for splicing arrays
by ccn (Vicar) on Nov 14, 2008 at 12:48 UTC | |
by LanX (Saint) on Nov 14, 2008 at 12:54 UTC | |
by massa (Hermit) on Nov 14, 2008 at 14:10 UTC | |
by LanX (Saint) on Nov 14, 2008 at 15:01 UTC |