FYI: IIS, Windblows Jehovista SP1 and partial response

2009-08-29 Thread Jenda Krynicky
Yesterday I noticed that by webbased Perl scripts stopped working. That is the scripts ran OK, but the webserver (IIS7.0 under Windows Vista SP1) only sent part of the output. Both IE8 and Google Chrome kept on waiting for the rest of the pare until timeout, LWP::UserAgent sometimes returned

Need help with printf/sprintf

2009-08-29 Thread Daniel Burgaud
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:

Re: Need help with printf/sprintf

2009-08-29 Thread Gabor Szabo
On Sat, Aug 29, 2009 at 3:51 PM, Daniel Burgaudburg...@gmail.com 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.

RE: Need help with printf/sprintf

2009-08-29 Thread BRZEZINSKI, PAUL
See the doco for sprintf for the details: http://perldoc.perl.org/functions/sprintf.html You'll want to do: printf %-*s %10.2f\n, $W, $item, $price; From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel