Hi Monks , I have this littel issue and need your help.
I have the following loop that is reading input and inserting it inside a hash table:
my $x=1;
while($x <= $EMPnum)
{
my $t1 = $left1->Label(-text=>"Guy #$x",
-background=>'gray')->pack();
my $num = $left2->Entry(-width=>12,
-background =>'white',
-borderwidth=>2,-relief=>'sunken',
-textvariable => \$info{EmpNum}[$x])->pack();
$x++;
}
I am having problem printing the output of the hash $info{EmpNum} , I am trying the following :
foreach (@{$info{EmpNum}}) {
print "\t$info{$_}>[0] $info{$_}->[1]\t$info{$_}->[2]\t$info
+{$_}->[3]\n";
}
but it gives me nothing . thanks