Skip to content

Instantly share code, notes, and snippets.

Created August 6, 2016 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/fd052bd9d0c289f127d77d6826b90452 to your computer and use it in GitHub Desktop.
Save anonymous/fd052bd9d0c289f127d77d6826b90452 to your computer and use it in GitHub Desktop.
$.supply = $.conn.Supply(:bin).map({
my $buf = $_;
{
$buf = $buf.decode;
CATCH { default { note "$_: ", $buf; $buf = ''; } }
}
$buf;
}).lines;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment