Perl does not require anyone to remember the list of functions that use $_ as a default any more than C requires one to remember the list of functions that take a file number as an argument. These things are very well documented. I used split successfully for years without knowing what its default arguments were, and if I'd ever seen it in foreign code (probably where I learned it, in fact), it's clearly documented.
In reply to Re^3: a rule of thumb for $_ in Perl
by kyle
in thread a rule of thumb for $_ in Perl
by apotheon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |