NAME

Linux::Distribution - Perl extension to guess on what linux distribution we are running on.

SYNOPSIS

use Linux::Distribution qw(distribution_name);

if(my $distro = distribution_name) {
	print "you are running $distro\n";
} else {
	print "distribution unknown\n";
}

DESCRIPTION

This is a simple module that try to guess on what linux distribution we are running looking for release's files in /etc.

It currently recognize slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake and gentoo.

EXPORT

None by default.

TODO

Add the capability of recognize the version of the distribution.

AUTHOR

Re Alberto, <kerberus@accidia.net>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Re Alberto

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.