• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

data/H06-May-2004-921897

lib/File/H06-May-2004-1,8821,580

t/H06-May-2004-16599

Build.PLH A D20-Apr-2004263 1511

ChangesH A D06-May-20041.2 KiB5633

MANIFESTH A D06-May-2004537 3332

META.ymlH A D06-May-2004364 2019

Makefile.PLH A D06-May-2004291 1512

NINJAH A D16-Feb-2004137 108

READMEH A D26-Aug-2003573 3520

README

1NAME
2
3File::Type - determine file type using magic
4
5INSTALLING
6
7Install using the standard Module::Build method:
8
9perl Build.PL
10
11./Build
12./Build test
13
14sudo ./Build install
15
16A Makefile.PL is also included if you do not have Module::Build:
17
18perl Makefile.PL
19
20make
21make test
22
23sudo make install
24
25USAGE
26
27my $ft = File::Type->new();
28
29# read in data from file to $data, then
30my $type_from_data = $ft->checktype_data($data);
31
32# alternatively, check file from disk
33my $type_from_file = $ft->checktype_filename($file);
34
35For further information, perldoc File::Type after installation.