Hi Amit,

Amit Saxena wrote:
Hi all,

How to determine the file type of a file passed as an input to the perl
program ?

I want to have the same output as it's shown by "file" command in UNIX.

Try going to CPAN and searching for it.  For example,

http://search.cpan.org/search?query=file+type&mode=all

Several options come up.  See which one seems easiest to use...

Ray



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to