@cnID = split("/", $serverID); foreach $temp (@cdID) { print $temp . "\n"; }