in reply to Re: $#="%c"; possible bug
in thread $#="%c"; possible bug

Good point. Now I see. I somehow thought $# only affects floating-point values. It seems that I didn't read the doc carefully enough.

And it seems that $# uses the system's builtin sprintf, not perl's.