Skip to content

Instantly share code, notes, and snippets.

@akanehara
Last active November 6, 2017 02:50
Show Gist options
  • Save akanehara/dd9adf683a2ce703bd908828783c29be to your computer and use it in GitHub Desktop.
Save akanehara/dd9adf683a2ce703bd908828783c29be to your computer and use it in GitHub Desktop.
Perlスニペット
# 標準出力・標準エラー出力のバッファリングをしない
{ $|=1; my $_old = select(STDERR); $|=1; select($_old); }
# 入力時の行区切り指定
local $/ = "\r\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment