Hi,
Nicholas Clark wrote:
> On Tue, Jun 14, 2005 at 07:56:32PM +0200, Ingo Blechschmidt wrote:
>> Maybe we should just hardcode the filehandles-leaking-into-runtime
>> case in the compiler? And, if the compiler can't detect the problem
>> at compile-time, just throw a runtime exception?
>>
>>
On Tue, Jun 14, 2005 at 07:56:32PM +0200, Ingo Blechschmidt wrote:
> Maybe we should just hardcode the filehandles-leaking-into-runtime case
> in the compiler? And, if the compiler can't detect the problem at
> compile-time, just throw a runtime exception?
>
> my $fh = BEGIN { open "some_file"