Date: 20 Sep 2001 13:51:58 -0400 From: Joe Schaefer Subject: Re: Limiting floating point decimal places. Message-Id: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel) writes: > According to Mark Jason Dominus : > > In article , > > Uri Guttman wrote: > > > CF> Also look at $OFMT and $# in the perlvar manual page. > > > > > >$# is deprecated and not useful. i think it is also broken in some > > >ways. > > > > It's extremely broken. Try this: > > > > $s = 1.23456789; > > $# = '%.0f'; > > print $s, "\t$s\n"; > > > > I doubt anyone has ever successfully used $# for anything. > > So do I. http://groups.google.com/groups?hl=en&selm=m33dcw27ia.fsf%40mumonkan.sunstarsys.com :-) I also think Kalle Anka might benefit from a "judicious" application of $#. Then again, it probably wouldn't make the slightest difference. -- Joe Schaefer And he puzzled three hours, till his puzzler was sore. Then the Grinch thought of something he hadn't before! -- Dr. Seuss