RE: if-clause again

2006-08-02 Thread Charles K. Clarkson
Dr. Claus-Peter Becke wrote: : first of all a question without respect to my problem. what does : HTH mean? Hope that helps or, sometimes here in Texas it means hotter than Hell. : i would like of having returned a string value as printed by : "print @row". That is in a loop. There may

Re: if-clause again

2006-08-01 Thread Mumia W.
On 08/01/2006 08:13 AM, Dr. Claus-Peter Becke wrote: databaserequest_noun($col, $table, $case) is a self written function based on the dbi manual's proposals. here's the code: sub databaserequest_noun { my ($col,$table,$case) = @_; my $database = "lexikon"; my $hostname = "localhost"; my $dsn

Re: if-clause again

2006-08-01 Thread Tom Phoenix
On 8/1/06, Dr. Claus-Peter Becke <[EMAIL PROTECTED]> wrote: databaserequest_noun($col, $table, $case) is a self written function based on the dbi manual's proposals. here's the code: sub databaserequest_noun { ... $dbh->disconnect; } maybe anybody detects the reason why the return value become

RE: if-clause again

2006-08-01 Thread Charles K. Clarkson
Dr. Claus-Peter Becke wrote: : maybe anybody detects the reason why the return value becomes 1 Perl returns values from subroutines implicitly and explicitly. A 'return' statement is used to send an explicit return. Otherwise, the return value of the last statement is returned implicitly. Exp

Re: if-clause again

2006-08-01 Thread Dr.Ruud
"Dr. Claus-Peter Becke" schreef: > databaserequest_noun($col, $table, $case) is a self written function > based on the dbi manual's proposals. here's the code: > > sub databaserequest_noun > { > my ($col,$table,$case) = @_ ; > my ($database, $hostname) = ('lexikon', 'localhost') ; > my

if-clause again

2006-08-01 Thread Dr. Claus-Peter Becke
databaserequest_noun($col, $table, $case) is a self written function based on the dbi manual's proposals. here's the code: sub databaserequest_noun { my ($col,$table,$case) = @_; my $database = "lexikon"; my $hostname = "localhost"; my $dsn = "DBI:mysql:database=$database; host=$hostname"; my $