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
> 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
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
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
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}