Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Looking for a name (Magic number MIME information on file from freedesktop.org database)

by Corion (Patriarch)
on Sep 17, 2016 at 21:06 UTC ( [id://1172022]=note: print w/replies, xml ) Need Help??


in reply to Re: Looking for a name (Magic number MIME information on file from freedesktop.org database)
in thread Looking for a name (Magic number MIME information on file from freedesktop.org database)

At least File::MimeInfo and my module already support filehandles and in-memory streams as well, so that part is covered. I like the idea of leaving File:: out, as it shortens the module name.

Personally, I've stopped trying to create "generic" modules together with the first implementation, as normally it turned out that my first implementation remained the only implementation and no plugins or other drivers turned up. But using MIME::Detect as the API class and leaving the door open for others to add backends sounds good.

  • Comment on Re^2: Looking for a name (Magic number MIME information on file from freedesktop.org database)
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1172022]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-20 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found