in reply to Perl Online Bot

I think your best bet is to investigate whether the public betfair API covers your use case. If yes, that's much easier and much more robust than scraping and automating websites.