Pearl script to check references to server response code