Re: Formatting Numbers

2012-02-12 Thread Mike Blezien
Thank you Rob this helps allot and should do the trick. Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - Original Message - From: Rob Dixon To: Perl Beginners Cc: Mike

Re: Formatting Numbers

2012-02-12 Thread Rob Dixon
On 12/02/2012 16:14, Mike Blezien wrote: Need a little assistance formatting numbers pulled from a databaes. Many are like this: 179550, 45960, 890458 etc. what I need to do is format these values with a comma so they look like this: 179,550, 45,960, 890,458 What is the easiest way to do thi

Re: Formatting Numbers

2012-02-12 Thread Shlomi Fish
Hi Mike, On Sun, 12 Feb 2012 10:14:42 -0600 "Mike Blezien" wrote: > Hello, > > Need a little assistance formatting numbers pulled from a databaes. Many are > like this: > > 179550, 45960, 890458 etc. > > what I need to do is format these values with a comma so they look like this: > > 179,5

Formatting Numbers

2012-02-12 Thread Mike Blezien
Hello, Need a little assistance formatting numbers pulled from a databaes. Many are like this: 179550, 45960, 890458 etc. what I need to do is format these values with a comma so they look like this: 179,550, 45,960, 890,458 What is the easiest way to do this? Thank you, Mike(mickalo)Blez

Re: Command line perl to stat a file

2012-02-12 Thread Dr.Ruud
On 2012-02-11 20:33, Harry Putnam wrote: Kevin Spencer writes: On Fri, Feb 10, 2012 at 10:52 AM, Harry Putnam wrote: But these command line attempts fail: (all on one line) perl -e 'my ($seven, $nine) = (stat('./SweetwatterPk-016.jpg'))[7, 9]; print "$seven and $nine"' outp