Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Using Magic Numbers

by HamNRye (Monk)
on May 07, 2003 at 16:08 UTC ( [id://256276]=note: print w/replies, xml ) Need Help??


in reply to Re: Using Magic Numbers
in thread Using Magic Numbers

I should mention this will be on Windows, not the annointed Unix which sprung from the womb of the virgins fully formed.

Artist, looks like File::MMagic will work for me. Thanks dude.

Replies are listed 'Best First'.
Re: Re: Re: Using Magic Numbers
by converter (Priest) on May 07, 2003 at 16:26 UTC

    No problem, HamNRye, Perl doesn't discriminate against less capable systems. :)

    For what it's worth, File::MMagic's built-in magic file doesn't seem to include support for Macintosh binary, but all is not lost. Grab this file and pass its pathname to the File::MMagic constructor and it will most likely work (untested on Macintosh files, since I have none to test with at the moment).

      Well, File::MMagic does not have Magic Numbers for most of what we use, but I have been able to add EPS, QXD, AI, and INDD to the list of filetypes it knows about. I have tested them on both Mac and PC files, and all is well.

      All in all, an awesome module.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-25 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found