3 ms·
I like Perl, and use it quite a bit. But the obvious drawback of that decision is that sub(%foo,%bar) passes a merged hash. You can use refs of course, but I'
by tyingq 10y ago
I like Perl, and use it quite a bit. But the obvious drawback of that decision is that sub(%foo,%bar) passes a merged hash. You can use refs of course, but I've seen this bite beginners a lot.
- falsedan 10y agoYeah, list context is not an obvious paradigm for beginners, and hashes in list context being a list of pairs is also a surprise.