On Thu, Nov 20, 2008 at 4:59 PM, Raymond Wan <[EMAIL PROTECTED]>wrote:

>
> 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
>
>
>
Hi Ray,

Before posting this query here, I indeed did a sample search on CPAN.

However I want to have a solution using Perl inbuilt module instead of some
external module as the system I am working on does not allows perl external
modules to be installed.

If you have use such modules, please suggest the one which is inbuilt in
Perl and best for this scenario ?

Thanks & Regards,
Amit Saxena

Reply via email to