in reply to FileHandles in a Hash

see hashs and file handle globs

Try while ( readline($Accts{$key}) ){

poj

Replies are listed 'Best First'.
Re^2: FileHandles in a Hash
by morgon (Priest) on May 28, 2014 at 21:51 UTC
    What also works is
    while (my $line = $Accts{$key}->getline){ ...