in reply to Re^2: A question about method return values and error checking
in thread A question about method return values and error checking

If you wanted to be particularly crazy, you could even go with:
printf "Operating System: %s\n", $os->name( long => 1 ) // (`uname -o -r` =~ s/\n//r) || 'undefined';

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.