in reply to deleting all the elements of an array

Try assigning the array to an empty list (), like so:

@table_cont = ();

Cheers.

BazB.

Update: Oops. Bit slow. Duplicate post.