Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Get output AnyData script without header or data_rowby jZed (Prior) |
on Dec 19, 2007 at 18:30 UTC ( [id://657946]=note: print w/replies, xml ) | Need Help?? |
DBD::AnyData can handle column names two ways: by default it looks for them as the first record in the file and treats that row as a header, not as a data row. However, if you specifically set the column names (as you do in the script above), then it will assume that the first row is data, not a header. So to get it to work as you want, just take out the col_names specification in your ad_catalog().
In Section
Seekers of Perl Wisdom
|
|