in reply to How can I check from wich OS the script is running?
use Config; print @Config{qw/osname osvers/}; __output__ linux2.4.2-2 [download]
_________broquaint