title: Can some explain what this script does please
body: <pre><code>class person {
  
      var $name;
      var $email;
  
      //Getters
      function get_name() { return $this-&gt;name; }
      function get_email() { return $this-&gt;email; }
  
      //Setters
      function set_name( $name ) { $this-&gt;name = $name; }
  
      function set_email( $email ) {
  
          if ( !eregi("^([0-9,a-z,A-Z]+)([.,_,-]([0-9,a-z,A-Z]+))*[@]([0-9,a-z,A-Z]+)([.,_,-]([0-9,a-z,A-Z]+))*[.]([0-9,a-z,A-Z]){2}([0-9,a-z,A-Z])*$", $email ) ) {
              return false;
          } else { 
              $this-&gt;email = $email;
              return true;
          }
  
      }//EOM set_email
  
  }//EOC person
  </code></pre>