in reply to Re: PDF::API2 & PDF::Textblock problems
in thread PDF::API2 & PDF::Textblock problems
my $value = sprintf('%.'.abs($ad).'f',$f);
After making the following changes it worked:
my $temp='%.'.abs($ad).'f'; $temp=~/^(.*)$/; $temp=$1; my $value = sprintf($temp,$f);
For some reason, the working server had the modified code already in it. Don't have a clue how that happened. I'm the only one messing with the perl on these servers and even though I'm forgetful, I didn't think I was THAT bad!
|
|---|