in reply to have written a script for inserting data into database but stil face probs...plz help
"... i have to designate the numeric values as reported value and reference range so how should i insert that into a database ..."
Other than suggesting 'start_range' and 'end_range' columns, I don't see what the problem is here. Perhaps you could expand on what you're actually having difficulty with.
"... and is the whole script correct ..."
Firstly, Perl will provide much information if you ask it to. Add use strict; and use warnings; to the top of your code. Also add use diagnostics; if you need more verbose output. Running perl -c script_name from the commandline will test the syntax of your code without actually running it.
Here's a few pointers on what you have presented:
-- Ken
|
|---|