John wrote, On 27/11/09 07:56:
Hi All,
After the QL meeting last night where some were moving Archive databases over
to a MySQL system and others were discussing emulators, we had a general
discussion. One of the things raised was the range of different systems. With
that in mind, it is about time we had another survey as the last one was back
in 2004. It would be nice to have the results available to all and so I
propose not collecting any data that is personable. Is this sensible?
If the results are for the whole community do you have any burning questions
that you would like answered?
Below are the draft questions based on the the last survey and the
improvements that Tony made when he put it on-line.
Do you have any suggestions for other questions or even a better way to phrase
the questions below?
<snip>
I well remember volunteering for the job last time. It was enjoyable
writing the perl code which created the form, debugged the input, and
emailed the result.
The perl program: http://tfs.firshman.co.uk/temp/qq.zip
The form is http://tfs.firshman.co.uk/scripts/qq.cgi and still working!
One thing might need explaining for non-perl applications.
I use %data array to avoid having to declare dozens of variables - I
forget the type name perl gives to the array.
my %data = {}
$data{"err_telno"} = "$error - Telephone number is not in required format";
The elements of the array are created like this and indexed by name.
This could all be done with simple variables in a language that does not
support this type of array.
I certainly don't have time to do anything this time, but anyone is
willing to modify the code to suit the new questions.
It shouldn't be hard, even if you have no perl experience.
Tony
--
QBBS (QL fido BBS 2:257/67) +44(0)1442-828255
[email protected] http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm