push (@switches, my $portcount);