The diamond operator doesn't like compound variables; but you can work around that by using its function form: readline. This works fine:
while( readline( $Some{compound}{variable}[1] ) ) { ... }
In reply to Re: Problem with using file handle in hash
by BrowserUk
in thread Problem with using file handle in hash
by sophate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |