If I have information about a business, how do I go about getting the Yelp URL for that business via a script (say a Perl script for example)? For example, if I have information about "Toni's Pizza & Organic Pasta", how do I about getting the Yelp URL programmatically ( which is "http://www.yelp.com/biz/tonis-pizza-and-organic-pasta-chicago")? Thanks!
You can use the Yelp API to query Yelp's servers for a particular business using HTTP requests. The downside is you must be an authenticated Yelp user which may or may not work for your purposes.
See for more details:
http://www.yelp.com/developers/documentation/v2/overview
http://www.yelp.com/developers/documentation/v2/search_api