in reply to Strings overwrite themselves in print command
By the way, the variables do yield the correct values independently
$grpNM = "applegroup" $memID = "mem001"