if ( $host =~ /thes530-xxxx.otenet.gr|millennium-xxxx.ccf.auth.gr/ ) { # blahblahblah... }