in reply to building Drop down menu - from a flat file
use strict; use DBI; my $dbh = DBI->connect( "DBI:CSV:f_dir=.;csv_eol=\n;csv_sep_char=!;", {RaiseError=>1}, ); $dbh->{csv_tables}->{'class'} = { file => 'class.csv', col_names => [qw(id name class instructor)], }; my $sth = $dbh->selectcol_arrayref(" select distinct instructor from class "); print join("\n",@$sth),"\n";
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: building Drop down menu - from a flat file
by data67 (Monk) on Jul 24, 2002 at 18:13 UTC | |
by jeffa (Bishop) on Jul 25, 2002 at 05:34 UTC |