http://www.perlmonks.org?node_id=1004363


in reply to Re^9: Moo and Spreadsheet::ParseExcel (explain?)
in thread Moo and Spreadsheet::ParseExcel

Ah. Thanks. What I was missing was that there was an unspecified outer layer that was calling Moo::Role, not just the inner layer that also used Moo::Role (as well as Spreadsheet::ParseExcel).

So it was a standard mistake of calling out to arbitrary code while using $_. And there is a spot somewhere in Spreadsheet::ParseExcel that it would be good to add local $_ to.

- tye