P is for Practical | |
PerlMonks |
Re: file typeby eg (Friar) |
on Feb 09, 2001 at 03:22 UTC ( [id://57288]=note: print w/replies, xml ) | Need Help?? |
You can use File::MMagic, but be forewarned, I didn't find it very fast. Update: ah, good point Arturo. I hadn't fully comprehended the question's substance. Catagorizing by filename extension seems like the best solution.
In Section
Seekers of Perl Wisdom
|
|