In addition to what Corion said above, you might find Closure on Closures helpful.
In reply to Re^5: Global vs. local? by ig in thread Global vs. local? by jpavel