"If you wanted to format your regex nicely and have whitespace ignored, you could use the /x modifier"
Anyone else feel a dissonance here? I'd format the assignment (yes, it is an assignment) as:
local $/ = "";
On first glance the assignment looks like $/= "" to me and that's not right. An eye blink later it turns into $ /= "" which doesn't work either. It's only after two glances and a hard look that it resolves into $/ = "";. Using white space to reduce cognitive load is a Good Thing™
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond