Would File::Type be of any help? You can feed data (not just filenames) to File::Type, and it does its best job of magically figuring out what you're looking at. Not sure if that will help or not, but it might be a start.
Dave
In reply to Re: string? Or binary garbage?
by davido
in thread string? Or binary garbage?
by argv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |