Linux::Perl::uname
my @parts = Linux::Perl::uname->uname(); my @parts = Linux::Perl::uname::x86_64->uname();
This module returns the list of strings from the uname system call. See man 2 uname for the specifics of what that means.
uname
man 2 uname
To install Linux::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::Perl
CPAN shell
perl -MCPAN -e shell install Linux::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.