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

nope, already tested.

edit

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

Cheers Rolf

( addicted to the Perl Programming Language)

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

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

      This would surprise me otherwise ...

      IIRC did bigint operate with tied and blessed variables and overloaded operators. Now sprintf is not an operator.

      And "(signed) integer" is well defined, changing this opens new problems.

      Of course you are free to overwrite &CORE::sprintf.

      I'm too lazy to check CPAN now! =)

      Cheers Rolf

      ( addicted to the Perl Programming Language)