in reply to page parsing regex

have you considered using DBD::Google? (although I'm not sure if it does what you want, I nevered used it, I only know it exists)

(I'm guessing that you are parsing a google page by the name of the var and the output you showed. Or is the purpose to use it on other pages aswell?)