Ya I have gone through this example which provide sequential way of handling.
this a sequential way of doing,but not a parallel processing/multiplexing/threading
foreach my $port (@ports) {
}
Is there possiblity to handle parallel processing??? Any help would be appreciated.