Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: aligning textby LanX (Saint) |
on Feb 02, 2018 at 15:24 UTC ( [id://1208329]=note: print w/replies, xml ) | Need Help?? |
Better try using self explaining variable names, it's no fun trying to understand your code like this. Since your first print seems* to be the price you might be interested in using printf for floats with a sufficiently large format (i.e. max digits of price, see examples for %f in sprintf ) The following names should be aligned then.
Cheers Rolf
update*) wrong because @har derives from @ar2 and vice versa. (Jesus!)
In Section
Seekers of Perl Wisdom
|
|