Dr. Ruud wrote:
> Because of RaiseError, that 'or die' is unreachable code
That's good to know. I wasn't aware of that. I'm reading up on it
now. Thanks!
Gurpreet Singh wrote:
> Just use a boolean "read_Primary_Key" (default false) and then true after
> reading the first line.
Since $count is nowhere used again, why increment it each time just for the
sake of reading primary key. Just use a boolean "read_Primary_Key" (default
false) and then true after reading the first line.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail:
On 2011-06-11 04:25, sono...@fannullone.us wrote:
# Connect to the server to create the db, if it doesn't exist already.
my $dbh_db = DBI->connect("DBI:mysql:database=;$host",
$username, $password,
{'RaiseError' => 1});
The "RaiseError"
On Jun 11, 2011, at 2:21 AM, Shlomi Fish wrote:
> Very well, I'll comment on your code.
Thanks, Shlomi. Much appreciated.
>>my $username = 'root';
>>my $password = 'root';
>>my $host = "127.0.0.1:8889";
>>my $db = "test_dbb";
> I hope you are not connecting to
Hi Marc,
On Saturday 11 June 2011 05:25:18 sono...@fannullone.us wrote:
> O.K. I've finished my code to create a MySQL db and/or table, and I'd
> appreciate hearing your comments. It works well, but it needs to be
> cleaned up before going live. I've left some testing code in. Go ahead
>
O.K. I've finished my code to create a MySQL db and/or table, and I'd
appreciate hearing your comments. It works well, but it needs to be cleaned up
before going live. I've left some testing code in. Go ahead and be brutally
honest. I've learned so much from this list already.
Than