in reply to Re^2: a rule of thumb for $_ in Perl
in thread a rule of thumb for $_ in Perl
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.
|
|---|