note
three18ti
<p>What exactly makes it not a closure? Is it that I'm passing a variable each time? If it was a new copy of $fh, wouldn't $fh_iterator->($fh) always return the same line (since it's creating a copy of the $fh object, on next passing it would be a copy of the original)?</p>
<p>Thanks for setting me straight, I always like learning new things.</p>
1057121
1057130