in reply to dbCopy.pl
$hr = { x => 1, y => 2 };
when$$dbHash{connect}->prepare("$sql")
is so much cleaner$db->{connect}->prepare($sql)
seems cleaner to me than$str = join(',', ('?') x @{$row->[0]}))
$str = join (",",map {"?"}(0..$#{$rowRefs->[0]})
Hope this helps...
gav^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: dbCopy.pl
by abaxaba (Hermit) on Feb 04, 2002 at 05:04 UTC | |
by gav^ (Curate) on Feb 04, 2002 at 05:16 UTC | |
by abaxaba (Hermit) on Feb 04, 2002 at 08:24 UTC |