Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, Robert Thompson said: >I felt it would have been too obligatory if I had opened the e-mail >"Dear Mr. Pinyan," :) Heehee. :) Honestly, though, I'm only this good so that other people can be good. It does the Perl community no good to have a handful of illuminati -- if they become ina

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Robert Thompson
> I knew Jeff would be the first one answering this one, too bad I could not bet on >this. I felt it would have been too obligatory if I had opened the e-mail "Dear Mr. Pinyan," :) > > You copied it incorrectly, or there is a typo in the book: You're right, I typed it wrong. I am learning ex

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Etienne Marcotte
I knew Jeff would be the first one answering this one, too bad I could not bet on this. You're the regex master:-) Etienne Jeff 'japhy' Pinyan wrote: > > On Nov 9, Robert Thompson said: > > >I am looking at the "Insert comma's into a number" script in > >Oreily's Perl Cookbook (pg 64) and ha

Re: Explanation of a Cookbook script and some further questions

2001-11-09 Thread Jeff 'japhy' Pinyan
On Nov 9, Robert Thompson said: >I am looking at the "Insert comma's into a number" script in >Oreily's Perl Cookbook (pg 64) and have some questions. The script (more >or less) is below followed by some output and questions: You copied it incorrectly, or there is a typo in the book: > $n

Explanation of a Cookbook script and some further questions

2001-11-09 Thread Robert Thompson
Hello, I am looking at the "Insert comma's into a number" script in Oreily's Perl Cookbook (pg 64) and have some questions. The script (more or less) is below followed by some output and questions: #!/usr/bin/perl my $num = reverse $ARGV[0]; $num =~ s/([0-9]{3}