In addition to what my anonymous brother said, I'd suggest checking $@ after using eval -- when using an eval block to catch exceptions, it's a good idea to check if an exception actually occured.
Thanks, I tried that but I didn't get a true answer from the API. Turns out its giving back a "non-OK" status but not really an error. So I need to read the hash return and grab the status.
I just need a bit of help with that and I'm off!