in reply to Re: Perl Problems with Digit Precision Changing on the Printf Statement
in thread Perl Problems with Digit Precision Changing on the Printf Statement

i mean i want those two lines to output the same OUTPUT to screen. when i run
printf STDOUT ("\n%*s\n", $digitprecision, $value);
I get 'Use of * in printf format not supported at example.pl line 10'
  • Comment on Re^2: Perl Problems with Digit Precision Changing on the Printf Statement
  • Download Code

Replies are listed 'Best First'.
Re^3: Perl Problems with Digit Precision Changing on the Printf Statement
by tinita (Parson) on Jun 24, 2004 at 15:40 UTC
    oh, i'm getting the same output (v5.8.0 linux at the moment).
    what perl version are you using?
    regarding %*s: i don't know since which perl version it is allowed...