Uh, fan is a bit of a stretch. $_ is the default variable (sorry if the name is wrong but that's what it essentially is). Like have a for loop with no explicit counter -> use $_. You don't assign a return value of a function to a variable -> find it in $_. These two are the first ones which come to my mind but there are more for sure.
View all comments
Show parent comment
2
u/BufferUnderpants Oct 08 '26
Oh, you're a Perl fan? Name three different meanings of
$_