in reply to Using Magic Numbers
There's always the unix utility 'file', which unfortunately doesn't seem to have a CPAN equivalent (unlike quite a few other unix file utilities). Maybe this is something worthy of consideration?
Update: I thought one didn't exist, having never encountered one, none turning up on a CPAN search, and none being registered in the File:: namespace. Obviously, I was wrong. Use File::MMagic as artist suggests ;)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Using Magic Numbers
by Abigail-II (Bishop) on May 07, 2003 at 19:31 UTC | |
Re: Re: Using Magic Numbers
by HamNRye (Monk) on May 07, 2003 at 16:08 UTC | |
by converter (Priest) on May 07, 2003 at 16:26 UTC | |
by HamNRye (Monk) on May 07, 2003 at 20:59 UTC |
In Section
Seekers of Perl Wisdom