Yes, this works for sockets. The typeglob assign just needs another star:$fd = fileno($fh); open STDOUT, ">&$fd"
local *STDOUT = *$fh;
In reply to Re: (bbfu) Re: Remote interpreter (redefining print())
by no_slogan
in thread Remote interpreter (redefining print())
by kaatunut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |