|
From: Philipp K. J. <ja...@ie...> - 2009-11-11 02:12:24
|
> > > > Yeah, we do. You can > > undefine VARNAME > > But it doesn't take wildcards. > > > I tend to prefer "unset" over "reset" - simply > because I am already used to "unset" taking > arguments, whereas "reset" does not. > I will correct myself. If we already have the ability to undefine a variable, then we should use that, rather than introducing an additional method. How about: undefine foo* undefine *foo undefine foo*bar with the obvious meaning of the wildcard? |