You're consuming a resource (3 open filehandles). This is 'small' (~1024, configurable) and finite on some platforms (most Unices, not Windows).
C:\temp\test>perl -e "{open my $f,'>',++$a or die qq|$a: $!|;push @a,$ +f;redo} 2046: Too many open files at -e line 1.
In reply to Re^2: FileHandle objects as data members of another object
by blazar
in thread FileHandle objects as data members of another object
by jkeenan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |