In particular, I enjoyed the idea in the while() loop, many a times I used to end up on infinite loops but when I saw the way you did the while() and I remembered I saw that concept before but did not employ it, it looked convoluted, Now it looks precise, neat and sharp and I started doing it in my exercises.
I used the printf() and sprintf() but not so exclusively, I mean, well, they are easier of course, in formatting you have the placeholders and alignment left, right, center and for numbers you have a different placeholder ####, now this can be frustrating if you did not know what that is or why your numbers don't show and you can't realize you had to use @####.##### instead of @<<<<, ask me about it :P
I got stuck at formatting earlier and for that reason I abandoned learning Perl for two years and imagine coming back again and at formatting I did not wanna give up so I summoned an extra vigor. Practice Makes Perfect, I would Practice and I am cherishing all the replies from the Monks in here to get back to them every other while and see where I stand.
thanks again and best of luck
Excellence is an Endeavor of Persistence.
Chance Favors a Prepared Mind
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.