Fwd: POD, Faq and tradition - Re: extracting email addys.

2003-11-22 Thread drieux
On Saturday, Nov 22, 2003, at 16:18 US/Pacific, Randal L. Schwartz wrote: [..] It's just that we keep seeing this over and over again. That's the point of the FAQ. What happened to the ethic of even ATTEMPTING to look for a local FAQ before posting to a list. {sigh} I think a part of the pro

Re: extracting email addys.

2003-11-22 Thread John Horner
> $text =~ m/[EMAIL PROTECTED]/g; WRONG. WRONG WRONG WRONG. Please read the FAQ on this. And dare I say again, WRONG. Wow, Randal, even for you that's a bit extreme. Couldn't you explain even a little bit why it's so wrong, and give more details about "the FAQ"? It is a beginners' list after

Re: MySQL beginner's script

2003-11-22 Thread Teresa Raymond
I finally got the database connected but it won't create the table for me. Can we only create tables at the command line? $sth = $dbh->prepare (CREATE TABLE test (first_field CHAR(10), second_field INT)) or print "Can't create table: " . DBI->errstr; $sth -> execute($test) or print "Can'

Re: Rounding Off

2003-11-22 Thread Mike Blezien
Thanks, exactly what I was looking for :) -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Wiggins d'Anconia wrote: Mike Blezien wrote: Hello, I need the ability to round off do

Re: Rounding Off

2003-11-22 Thread Wiggins d'Anconia
Mike Blezien wrote: Hello, I need the ability to round off dollar amounts to the nearest 100th of a dollar amount, IE $14.9564 to $14.96 or $132.1123 to $113.11 what is the best way to accomplish this ?? perldoc -q 'have a round' perldoc -f sprintf http://danconia.org -- To unsubscribe, e-mail

Re: MySQL beginner's script

2003-11-22 Thread Wiggins d'Anconia
Teresa Raymond wrote: Hello, I was wondering if anyone could help me solve this problem. The script appears not to be connecting to the database. This script prints "Here we go" but never prints "Database connected". I used the format that the hosting company supplied. "DBI:mysql:$database:loc

Re: extracting email addys.

2003-11-22 Thread Randal L. Schwartz
> "John" == John Horner <[EMAIL PROTECTED]> writes: >> > $text =~ m/[EMAIL PROTECTED]/g; >> >> WRONG. WRONG WRONG WRONG. Please read the FAQ on this. >> >> And dare I say again, WRONG. John> Wow, Randal, even for you that's a bit extreme. Couldn't you explain John> even a little bit why i

Rounding Off

2003-11-22 Thread Mike Blezien
Hello, I need the ability to round off dollar amounts to the nearest 100th of a dollar amount, IE $14.9564 to $14.96 or $132.1123 to $113.11 what is the best way to accomplish this ?? TIA -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet

Re: MySQL beginner's script

2003-11-22 Thread Oliver Schnarchendorf
On Sat, 22 Nov 2003 10:14:38 -0500, Teresa Raymond wrote: > This script > prints "Here we go" but never prints "Database connected". I used the > format that the hosting company supplied. Teresa, your script seems fine to me... but you might want to read the documentation of the auto-f

MySQL beginner's script

2003-11-22 Thread Teresa Raymond
Hello, I was wondering if anyone could help me solve this problem. The script appears not to be connecting to the database. This script prints "Here we go" but never prints "Database connected". I used the format that the hosting company supplied. "DBI:mysql:$database:localhost","$username","$