in reply to Question on converting big numbers to strings without rounding

usebignum; my $x = 5 ** 512;  print "$x\n";

I may not understand the problem correctly though. I don't understand why perl wouldn't just treat your long number as a string to begin with. What did you do to make it trunace the number in the first place? sprintf may be a poor choice since it would probably force perl to treat the string as a number...

-Paul