http://qs321.pair.com?node_id=305352


in reply to Re: Re: Re: Re: desire to pass file handles by value
in thread desire to pass file handles by value

Ah, thanks for debugging that. When I tried it on STDIN, I got the fubar, and simply dismissed it with a "What do you expect, seeking back and forth on a non-file stream?" :-)
But Perl is smarter than I am... as usual.

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.