Skip Menu |

This queue is for tickets about the MIME-Types CPAN distribution.

Report information
The Basics
Id: 87856
Status: resolved
Priority: 0/
Queue: MIME-Types

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

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



Subject: Solid MIME::Types failure attempting to start Catalyst application
Modification of a read-only value attempted at /home/gshank/CE/git2/bin/../extlib/lib/perl5/MIME/Types.pm line 52, <DB> line 1. Compilation failed in require at /home/gshank/CE/git2/bin/../extlib/lib/perl5/Module/Runtime.pm line 317, <DB> line 1. at bin/catalyst-server line 53, <DB> line 1.
Including local $_; before the while(<DB>) fixes it. Might be better if you used the while (my $line = <FILE>) syntax. And updated to the newer open...
Subject: Re: [rt.cpan.org #87856] Solid MIME::Types failure attempting to start Catalyst application
Date: Sun, 18 Aug 2013 12:49:56 +0200
To: Gerda Shank via RT <bug-MIME-Types [...] rt.cpan.org>
From: Mark Overmeer <website [...] craneveer.nl>
* Gerda Shank via RT (bug-MIME-Types@rt.cpan.org) [130814 22:11]: Show quoted text
> Queue: MIME-Types > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=87856 > > > Including local $_; before the while(<DB>) fixes it. Might be better > if you used the while (my $line = <FILE>) syntax. And updated to the > newer open...
The DB handle should have been localized as well. released as 2.02 -- Thanks for reporting, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
This is not fixed. There are two two "while <DB>" loops; you put the local $_ in the wrong place.
Subject: Re: [rt.cpan.org #87856] Solid MIME::Types failure attempting to start Catalyst application
Date: Thu, 12 Sep 2013 15:48:59 +0200
To: Gerda Shank via RT <bug-MIME-Types [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Gerda Shank via RT (bug-MIME-Types@rt.cpan.org) [130912 13:33]: Show quoted text
> Queue: MIME-Types > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=87856 > > > This is not fixed. There are two two "while <DB>" loops; you put the > local $_ in the wrong place.
Grrrr.. right, I had to add local() on three places, not two... I am not happy. Immediately released a new version (2.04) with my next attempt. May take up to an hour to be visible on CPAN. -- Thanks for complaining MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
fixed in 2.04