Memory escaping while using array reallocation.

"webmaster" <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hi, everybody.

I'm wondering if I use next instructions:
while ( [some condition] ) {
  my @array = (1,2,3,4,5,6);
  ... some code ...
  @array = ();
}
then I hope Perl environment must be care about sufficient usage memory
zone, occupied by array allocation during first declaration (e.g. my @array
= (1,2,3,4,5,6);). Does it clean up all elements of array properly while
proccessing statement '@array = ()' ?

Thanks
, AZtpa



-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.