in reply to Re^4: www::mechanize check if webpage has updated
in thread www::mechanize check if webpage has updated

This should give you a basic idea:

if ( $oldcontent eq $newcontent ){ print "Nothing new here!\n"; }else{ print "Something has changed!\n"; }