also expose the (less useful from ruby-land) perror() function.