Baz has asked for the wisdom of the Perl Monks concerning the following question:
But i need to add one line to the code above. I need to reset the table_cont array so that it contains no elements. Thatway when i continue looping on the 11th and 21th iterations i start pushing onto an empty table_cont array. How do I do this, In C u'd set the array to NULL.push @LoL ,[table_cont];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: deleting all the elements of an array
by Beatnik (Parson) on Dec 14, 2001 at 03:46 UTC | |
|
Re: deleting all the elements of an array
by chip (Curate) on Dec 14, 2001 at 09:53 UTC | |
|
Re: deleting all the elements of an array
by danboo (Beadle) on Dec 14, 2001 at 03:46 UTC | |
|
Re: deleting all the elements of an array
by archen (Pilgrim) on Dec 14, 2001 at 04:59 UTC | |
|
Re: deleting all the elements of an array
by BazB (Priest) on Dec 14, 2001 at 03:51 UTC | |
|
Re: deleting all the elements of an array
by dorko (Prior) on Dec 14, 2001 at 05:00 UTC | |
by tilly (Archbishop) on Dec 15, 2001 at 12:23 UTC | |
by archen (Pilgrim) on Dec 14, 2001 at 08:45 UTC | |
by dorko (Prior) on Dec 14, 2001 at 09:14 UTC | |
|
Re: deleting all the elements of an array
by Steve_p (Priest) on Dec 14, 2001 at 07:54 UTC |