Hello
i will like to know please how can i determine file type inside perl script
not using the unix "file" program
Thanks allot
file uses magic numbers to decide what a file type is.
You can get file::type from:
Note that it is version 0.22, which usually indicates that it's a work in progress...