I am trying to write a perl script that will select a product to shop from a website, enter quantity, add to cart and checkout. I have been able to select the product but i am not able to submit the 'add to cart'. The 'add to cart' is an image instead of a button. I am using POST but it is not working. Here is part of the code i am using: