in reply to Re: issue with sprintf..
in thread issue with sprintf..

> I get four times the same value,

Your Perl is compiled for 64 bits?

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^3: issue with sprintf..
by hdb (Monsignor) on Jan 09, 2014 at 10:32 UTC

    Yes, it is. Could "%u" be helpful?

      nope, already tested.

      edit

      DB<112> $val=12143951645 => "12143951645" DB<113> sprintf("%11u", $val); => " 4294967295"

      Cheers Rolf

      ( addicted to the Perl Programming Language)

        It also seems that use bigint; does not affect sprintf.