ehalf Of Daniel
Burgaud
Sent: Saturday, August 29, 2009 8:51 AM
To: Perl-Win32-Users
Subject: Need help with printf/sprintf
Hi
I have a problem with printf/sprintf
Basically I have this code:
printf "%-50s %10.2f\n", $item, $price;
This code prints a line that is 61 chars long with the Ite
On Sat, Aug 29, 2009 at 3:51 PM, Daniel Burgaud wrote:
> Hi
>
> I have a problem with printf/sprintf
>
> Basically I have this code:
> printf "%-50s %10.2f\n", $item, $price;
>
> This code prints a line that is 61 chars long with the Item's name on the
> Left and Price on the right.
> However, I wa
Hi
I have a problem with printf/sprintf
Basically I have this code:
printf "%-50s %10.2f\n", $item, $price;
This code prints a line that is 61 chars long with the Item's name on the
Left and Price on the right.
However, I want to make it variable width based on either screen width, or
user input