in reply to Chomp an AoA?
Secondly, I think you might be mistaking an array for a list... Which I always did until I read Arrays are not lists by tilly. If that is the case, then chomp would probably work if you did:
chomp @Array[0..$#Array];
If that ain't it, I humbly apologize... :)
Update: Read original post again; seems logical to me chomp won't work as you suggest; an AoA is really an AoRA (Array of references to arrays) and you can hardly expect chomp to merily go dereferencing elements of the array it's passed...
I am now even more so convinced the chomp should just be moved up in the loop, where it belongs...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Chomp an AoA?
by PodMaster (Abbot) on Jan 29, 2003 at 15:29 UTC |