in reply to Re^2: Problem in a Loop
in thread Problem in a Loop

I can only guess that your script misses the following three lines near the top:

use strict; use warnings; use Data::Dumper;