D
David Baird
Hi,
If I generate the code for an entire package, how can I then use or
require it? I want to autogenerate a bunch of classes for accessing
database tables, reading the structure of the table from the db and
then using that info to construct the class. Using Alzabo to analyse
the db, the code generation part is quite easy, but now I can't figure
out how to autovivify the packages into existence. All I can think of
is to write the code string to a file and then issue a standard 'use',
but is there a more elegant way to do this (i.e. without writing the
thing out to a file)?
Thanks,
David.
If I generate the code for an entire package, how can I then use or
require it? I want to autogenerate a bunch of classes for accessing
database tables, reading the structure of the table from the db and
then using that info to construct the class. Using Alzabo to analyse
the db, the code generation part is quite easy, but now I can't figure
out how to autovivify the packages into existence. All I can think of
is to write the code string to a file and then issue a standard 'use',
but is there a more elegant way to do this (i.e. without writing the
thing out to a file)?
Thanks,
David.