3 ms·
In perl, you can also make hashes ‘const’ at any time, so accesses to non-existent keys will throw an error. This is also a great way to prevent dumb code typos
by joosters 8y ago
In perl, you can also make hashes ‘const’ at any time, so accesses to non-existent keys will throw an error. This is also a great way to prevent dumb code typos in hash key names.