in reply to Re^2: How to use sprintf %n formatting pattern
in thread How to use sprintf %n formatting pattern

If $max_width is undefined, you probably ran it without providing a command-line argument. Try setting $max_width to something.

Replies are listed 'Best First'.
Re^4: How to use sprintf %n formatting pattern
by GrandFather (Saint) on Jun 09, 2022 at 21:05 UTC

    Yup, figured that out in the shower this morning. I understand egg on the face is good for the complexion. Not sure why a shower is at least as effective as two coffees. Unfortunately the effect seems only to last for the duration of the shower.

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond