http://qs321.pair.com?node_id=735079


in reply to Print all derefs and method calls in a directory (Friday golf)

It only picks up -> derefs but everyone here seems to code that way, so it's a win for me.

I don't believe that's true. I do

for (@$list) { ... }

and

for (keys %$table) { ... }

and

$grid[$x][$y]

regularly. I even do

our $buf; local *buf = $ref;

often enough. All of those contains derefs. Three of them aren't even possible to do with the arrow.