diff options
-rw-r--r-- | lib/PublicInbox/LI2Wrap.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LI2Wrap.pm b/lib/PublicInbox/LI2Wrap.pm index 61cf4bee..204850a6 100644 --- a/lib/PublicInbox/LI2Wrap.pm +++ b/lib/PublicInbox/LI2Wrap.pm @@ -12,6 +12,7 @@ sub wrapclose { my ($inot) = @_; my $fd = $inot->fileno; open my $fh, '<&=', $fd or die "open <&= $fd $!"; + bless $inot, __PACKAGE__; } sub DESTROY {} # no-op |