> $i=0;
> while ($i<3)
> {
> print $loginpsswd{"$loginpasswd[2*$i]"};
> print "\n\n";
> }
> I get error ...
>
> can someone whose knows perl explain me how to write
> this loop correctly.
An easy way is this:
foreach $k (keys %loginpsswd) {
print $loginpsswd{$k}."\n\n";
}
--
Jonathan Daugherty
Dept. of Computer Science / UCNS Workstation Support Group
The University of Georgia