I don't know of a searchable archive. To format the number you can either roll your own, grab the solution in the Perl Cookbook, or use Number::Format.
http://search.cpan.org/search?mode=module&query=Number%3A%3AFormat use Number::Format; my $commaNum = new Number::Format(-thousands_sep => '.'); my $number = $commaNum->format_number(1000000); Or roll your own (this from the Perl Cookbook): my $number = commify(1000000); sub commify { my $text = reverse $_[0]; $text =~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g; return scalar reverse $text; } Rob -----Original Message----- From: Brian Warn [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 12:46 PM To: [EMAIL PROTECTED] Subject: printf and archive questions Hi, two questions: is there an easy way -- using printf, etc. -- to format 1000000 such that it appears as 1,000,000? Also, is there a searchable archive of the beginner list anywhere? Thanks, Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
