RE: Help with array

2011-09-08 Thread Barry Brevik
Splice with a length of 0... I wish I had thought of that. Thank you! > Everybody's a 'newb' at stuff that haven't tried before. It > might help to think of inserting elements into an array as > replacing a section of length 0, when you read 'perldoc -f splice'. > > It might also be worth takin

RE: Help with array

2011-09-08 Thread Andy_Bach
> It might also be worth taking a look at slices, described in 'perldoc perldata'. It also *may* be worth rethinking your data model. Often (not always but ...) needing to insert something into a particular location in an array implies a hash might be a better structure. Just a thought. a --

RE: Help with array

2011-09-08 Thread Brian Raven
> -Original Message- > From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- > win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik > Sent: 07 September 2011 18:48 > To: Tobias Hoellrich; perl-win32-users@listserv.ActiveState.com > Subject: RE: Help with a