my @variable; for (... ) { ... undef @variable; }