http://www.perlmonks.org?node_id=565112


in reply to Re: non-destructive read on stdin
in thread non-destructive read on stdin

Yes, I should have thought of that - thanks!