4 ms·
It is! But sometimes you end up using it to make code more reliable, as in: do_thing($_) for @things; Where $_ is passed in as an argument, as opposed to
by Mithaldu 11y ago
It is!
But sometimes you end up using it to make code more reliable, as in:
do_thing($_) for @things;
Where $_ is passed in as an argument, as opposed to:
do_thing for @things;
Where $_ is (due to its global nature) set by `for`, and read in sub do_thing { ... }