Hi folks,
I am using dbi with mysql to develope a data access interface for my
application,
and also I am using hash to retriving rows from database using
fetchrow_hashref function,
everything is fine, But the problem is I have to redefine a hash for every
table which I am working with each time and in each function.
how can I bypass this, just like using structure in C. to defining it once
and using it as a data type.
I know that I can implement it in Object oriented perl but How can I
handle it in structured perl-dbi programming.
Any help and suggestion appriciate.
Thank you all in advance.
regards
----------------------------------------------------------------------
Mohammadreza Shojatalab
European Bioinformatics Institute Tel: +44 (0)1223 494 669
EMBL Outstation Fax: +44 (0)1223 494 468
Wellcome Trust Genome Campus E-Mail: [EMAIL PROTECTED]
Hinxton, Cambridge URL: http://www.ebi.ac.uk/~shoja
CB10 1SD, UK