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


in reply to Re: capturing STDOUT
in thread capturing STDOUT

I think you have the backwards; it should be { local *STDOUT=*WRITE; &evil_STDOUT_code(); } Nice Weird Al Yankovic reference, by the way.