in reply to Google API with googly.pl

The copy I found when I googled looks like that line should be

$result->{'title'} || "no title",

Something may have gone awry in whatever templating transformation that went through.

Update: I'm just guessing here; I don't know what the Google API returns offhand but just going by context . . . . Also note that it's helpful to either post the code you're having problems with or a link rather than a nebulous pointer so some code called foo.pl you got from that guy (you know, the one that wears those shirts with the things).