On Saturday, February 8, 2014 at 1:25:45 PM UTC-8, sri wrote: > > Btw. It would be nice if someone turned MIME::Types into a Mojolicious > plugin that registers all types in existence with app->types. ;) >
Be careful; if you're looking to make/keep Mojolicious fat-packable (via App::FatPacker), the MIME::Types module creates a binary file called 'types.db' that is binary, and therefore not fatpackable. You can get around the non-fatpacked MIME::Types database file by copying the binary 'types.db' file to the same directory as you run your fatpacked Mojolicious app from, but to me, that's kind of a pain. The Dancer Advent calendar mentions this, which is where I found out about it. Unfortunately, the main Dancer Advent calendar site is down right now, but here's the cached page from Google: http://webcache.googleusercontent.com/search?q=cache:kMZ2IPhp9R4J:advent.perldancer.org/2014/5+&cd=1&hl=en&ct=clnk&gl=us Thanks, Brian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
