in reply to compare two urls

use URI or Regexp::Common::URI