Skip Menu |

This queue is for tickets about the SWF-File CPAN distribution.

Report information
The Basics
Id: 59988
Status: new
Priority: 0/
Queue: SWF-File

People
Owner: Nobody in particular
Requestors: DEMIURG [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.42
Fixed in: (no value)



Subject: Bug in close method
At package SWF::BinStream::File I found such code: ============cut================ sub close { my $self = shift; my $res; $self->close; $res = close $self->{_file} if defined $self->{_file}; undef $self->{_file}; $res; } =============cut================= It hangs. I believe the right thing is: =============cut================= sub close { my $self = shift; my $res; $self->SUPER::close; $res = close $self->{_file} if defined $self->{_file}; undef $self->{_file}; $res; } =============cut=================