This is a simple perl script that will use Hipchat's API v2 to message a room using the REST API v2 after passing in the room name, authentication token and a message. Also includes features for selecting the colour, notifying the room and using API v1 should you so choose.