On 1 Jun 2004, at 2:55 am, Nik Belajcic wrote:
This may be a silly question, but I am wondering if there is something
opposite to:
@row = $sth->fetchrow_array
In other words, instead of fetching rows from MySQL and loading them
into an array that can be accessed from Perl, I want to do the opposite
into $table set $sql",undef,values %record);
Richard
- Original Message -
From: "Daniel Kasak" <[EMAIL PROTECTED]>
To: "Nik Belajcic" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 5:15 AM
Subject: Re: Perl arrays into MySQL
&
A perhaps more perlish way would be,
my $table = "MyTable";
my $sql = join ',', map {"$_=?"} keys %
- Original Message -
From: "Daniel Kasak" <[EMAIL PROTECTED]>
To: "Nik Belajcic" <[EMAIL PROTECTED]>; <[EMAIL PROTECTE
Nik Belajcic wrote:
This may be a silly question, but I am wondering if there is something
opposite to:
@row = $sth->fetchrow_array
In other words, instead of fetching rows from MySQL and loading them
into an array that can be accessed from Perl, I want to do the opposite
- take a Perl (associative
This may be a silly question, but I am wondering if there is something
opposite to:
@row = $sth->fetchrow_array
In other words, instead of fetching rows from MySQL and loading them
into an array that can be accessed from Perl, I want to do the opposite
- take a Perl (associative) array and load i