![]() |
|
XP is just a number | |
PerlMonks |
Re^4: Perl6::Form Issues with Zero-Padding and Declarative Width (integer)by AnaximanderThales (Novice) |
on Nov 18, 2014 at 19:27 UTC ( #1107620=note: print w/replies, xml ) | Need Help?? |
No worries --
The issue that I'm having with the declarative width is how '7' is arrived (I use 7 now, but I'll clarify in a moment). Since I'm wrapped up in trying to get my project in a state that I'm satisfied with right now so I haven't played with this more, so I can't say for certain this occurred. We have {>>>>>} which is 7 characters. We have {>(5)>} which is also 7 characters? Okay -- I'll accept that the {} are included in the count. In my mind, while I was playing with things, I remember switching {>(5)>} to {>(3)>}. This should be 5 characters. When I have " 003," I should not get the validation error. My data has 5 characters, the field is 5 characters. Like I said, I haven't gone back and tested it, it was one iteration out 20 or 30 tries. So, this is what I need to bang around with and figure out. I just need more experience with it, break what I'm doing, ask more questions and just get it set in my mind with my own words.
In Section
Seekers of Perl Wisdom
|
|