Nothing major, it is just that when a SelectSave object is destroyed by going out of scope, the default output handle is restored to its original state. That way I don't have to remember to do it myself-- got bit by that just a little bit ago, couldn't figure out why I wasn't getting any results sent to STDOUT! The function wrapper exists as a convient way to organize (and hide) the details like handle, function to execute and argument for the function.
–hsm
"Never try to teach a pig to sing…it wastes your time and it annoys the pig." | [reply] |