example of perror
Merge pull request #3 from robertzk/perror

example of perror