Can someone explain to me what some characters represent in the following lines of cgi code?
- eq?
- ""?
- !~?
- &&?
- ne?
if($name eq "" || $staddress eq "" || $city eq "" || $province eq "" || $postalcode eq "" || $phonenumber eq "" || $email eq "") {
&error();
}
elsif($name ne "" && $name !~ m/^[A-Za-z][A-Za-z\s]*/) {
&error();
}
elsif($staddress ne "" && $staddress !~ m/^[0-9A-Za-z\.\#][0-9A-Za-z\.\#]*/) {
&error();
- eq?
- ""?
- !~?
- &&?
- ne?
if($name eq "" || $staddress eq "" || $city eq "" || $province eq "" || $postalcode eq "" || $phonenumber eq "" || $email eq "") {
&error();
}
elsif($name ne "" && $name !~ m/^[A-Za-z][A-Za-z\s]*/) {
&error();
}
elsif($staddress ne "" && $staddress !~ m/^[0-9A-Za-z\.\#][0-9A-Za-z\.\#]*/) {
&error();