1

Detect Ubuntu using perl

view story
linux-howto

http://askubuntu.com – I am working on a perl script that must write configuration file. I need to know if the script is running on Ubuntu to set some Ubuntu-specific values (basically, disable the unified bar). The script cannot require any Perl packages that may not be present on user system. How can I check if the system is Ubuntu or some other Linux distro? (HowTos)