(!defined($pname) && $pname ne '')