One of the examples (Listing 5) in this article show how to do DDL with DBI and DBD::DB2, so perhaps you can just convert your script.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
Update: Trivial edit (specify which example performs DDL), changed plural to singular.
In reply to Re^3: Source command in perl script
by roboticus
in thread Source command in perl script
by bannaN
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |