once my college professors asked me to simulate google
man..tough one....
so i wikied on the working of google and ended up analyzing the PageRank algo
also i found a lnk to calculate the page rank so i did this
use LWP::Simple;
print "enter url\n";
$doc=get "$url";
print "$doc\n";
the output was then transfered to a file the file sorted and boom i simulated google (well not exactly.....)
the faculty was so impressed that they gave me an A+ for this and showed this program to te visiting faculty during the fest