NAME

DMOSS::Oracle - DMOSS file type oracle

VERSION

version 0.01_2

SYNOPSIS

use DMOSS::Oracle;

my $oracle = DMOSS::Oracle->new;
my $type = $oracle->type($file);

DESCRIPTION

The DMOSS oracle gives a type to a file, initially based on file axtension, and next based on hand crafted regular expressions.

FUNCTIONS

new

Create a new oracle object.

type

Given a file path this function returns its' type.

AUTHOR

Nuno Carvalho <smash@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Project Natura <natura@natura.di.uminho.pt>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.