in reply to Re: How to use sprintf %n formatting pattern
in thread How to use sprintf %n formatting pattern
When I run your code I get:
Use of uninitialized value $max_width in subtraction (-) at delme.pl l +ine 26. foo0123456789
which is about what I'd have expected due to the arguments to printf being evaluated before printf is called. What am I missing here?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to use sprintf %n formatting pattern
by hv (Prior) on Jun 09, 2022 at 13:54 UTC | |
by GrandFather (Saint) on Jun 09, 2022 at 21:10 UTC | |
|
Re^3: How to use sprintf %n formatting pattern
by hv (Prior) on Jun 09, 2022 at 13:41 UTC | |
by GrandFather (Saint) on Jun 09, 2022 at 21:05 UTC | |
|
Re^3: How to use sprintf %n formatting pattern
by hippo (Archbishop) on Jun 09, 2022 at 13:24 UTC |