added perl, cleaned up c++-version