in reply to Re^2: Reassign STDOUT/STDERR contents to a variable
in thread Reassign STDOUT/STDERR contents to a variable

You need to close STDIN first (same goes for STDOUT and STDERR). Then reopen to wherever.

print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972)))

Replies are listed 'Best First'.
Re^4: Reassign STDOUT/STDERR contents to a variable
by lothos (Novice) on Sep 25, 2009 at 18:53 UTC
    yeah. I do. I just missed it in the 'making it brief' copy. I'm copying from a 400 line script with all sorts of nasty other stuff. Thanks,