|
Our group has also found that global variables can carry over between separate runs of the same application, probably due to server caching. If a global variable was set during one run of the application, and not explicitly set to something else on the next run, then it would (often? always?) retain the value from the previous run. Whether this behavior is by design or not is moot; it exists and it is something to watch out for. Lesson here: Do not use global variables unless you have to, and expect this behavior if you do. Instance variables, however, do get re-initialized between runs, just as they should. Lonny Eachus ==========
|
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
