2 ms·
Yes. Even made job-related tools in it, and was looking forward to perl 6 as a fix-it-all version. There is no value in %<${, and it could look like let auth
by wruza 4y ago
Yes. Even made job-related tools in it, and was looking forward to perl 6 as a fix-it-all version. There is no value in %<${, and it could look like
let author = {}
for (let line in stdin.lines()) {
if (not line.m(/…/)) next
let [l, r] = line.split('=', 2)
author[l] = r.split('|', 2)
}
The key feature of perl is basically inline regexps. Everything else is an unnecessary noise. qx{…} -> sh("…"), bless -> class, etc. I loved perl and still know it, but haven’t written a single line in 17 years because there was no reason.