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


in reply to Re^6: Perl6::Form Issues with Zero-Padding and Declarative Width (integer)
in thread Perl6::Form Issues with Zero-Padding and Declarative Width

Well, you could easily test that theory yourself. ;o) But unfortunately no. You must not insert the (7) into the format, you must overwrite existing characters instead.

Step 1: Write the format you want.

{>>>>>}

Step 2: Force Perl6::Form to validate the format length at runtime.

{>(7)>}

In both cases above the string length is identical before and after the addition of this validation number.

And really, most of the time you should just skip step 2. It doesn't buy you much. You can check these things with a decent text editor. As the author said, it was primarily meant for use by automated tools.

Replies are listed 'Best First'.
Re^8: Perl6::Form Issues with Zero-Padding and Declarative Width (integer)
by AnaximanderThales (Novice) on Nov 18, 2014 at 23:28 UTC

    I am a step closer on it, though! When I get home, I'll play around with it extensively. I'm still at work and have homework to tend to. I'll check in when I think I can explain it to someone with no background in it.

    Truly appreciate the time.

    Thank you.