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

how do i compare?
  • Comment on Re^4: www::mechanize check if webpage has updated

Replies are listed 'Best First'.
Re^5: www::mechanize check if webpage has updated
by marto (Cardinal) on Sep 16, 2010 at 15:26 UTC

    This should give you a basic idea:

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