in reply to Please tell
You think that's what he's trying to do?
Looks to me more like he's trying to search the access logs of his own web server to find referrals from m.rightmove.co.uk.
Which leads to a better solution: Parse::AccessLogEntry (Or one of the other Apache log reading modules on CPAN.)