deleteVariables("$blah*");
That would delete any global variables starting with blah.
However, a variable named $blah would not be deleted..
$blah = "hi";
$blah::stuff = "hey";
$blah::test = "hello";
deleteVariables("$blah*");
$blah::stuff and $blah::test have now been deleted, but $blah still exists.