Colin (Support) wrote:
>
> I have this little memory blockage again.
> If I 'push' data from a database into an array to look/manipulate the data
> and then using the same array name, 'push' data into the array from another
> database, the data from the second DB file is added to the data of the
> first. How can I clear the first lot of data and start a fresh with an
> empty array ??

Hi Colin.

Use

  @array = ();

or

  undef @array;

(I like the easy ones!)

Cheers,

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to