Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Using Magic Numbersby Abigail-II (Bishop) |
on May 07, 2003 at 19:31 UTC ( [id://256359]=note: print w/replies, xml ) | Need Help?? |
IIRC, Dominus wrote a Perl implementation of "file" for
Tom's "Perl Power Tools" project. If I were to ever do what
the OP is doing, I'd settle for `file $file`,
and modifying /etc/magic if needed.
Abigail
In Section
Seekers of Perl Wisdom
|
|