Google now returns code snippets

Google's main search screen now returns code snippets in its list of results. This is not just in code.google.com any more.

I needed to find the docs for the PHP function ftp_connect, so searched Google for it. (I could have gone to php.net and searched there, but why?) The list of results has three hits to PHP manual pages, and the fourth and fifth are bits of code that use ftp_connect. Anyone know if they're getting Perl stuff in there as well? I tried it with WWW::Mechanize, but couldn't turn up hits.

Categories:

2 Comments

Max said:

It's not doing that for me--maybe it's part of your personal search or whatever it's called?

-Max

Yep, looks like it gets Perl stuff as well by going to Google's Code Search site and just doing a search on something "Perly".

WWW::Mechanize results

Leave a comment

About this Entry

This page contains a single entry by Andy Lester published on March 31, 2008 1:14 PM.

Technical debt in your file headers was the previous entry in this blog.

What commands do you run? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Other Perl Sites

Other Swell Blogs

  • geek2geek: An ongoing analysis of how geeks communicate, how we fail and how to fix it.