This is a Python library which allows me simple access to MySQL databases.
I have a library that does much the same for #Perl, except that the database identifier we use is stored as $DB::Database, so if you want to have two databases open at the same time, you just can't. So, if I want to copy a table from DB 1 to DB2, for example, I use Python.
If you know me, you know I'm a Monger, so you know how painful that is for me.
So, I'm (finally) learning Moo, and I'm trying to reimplement mydb.py as a Perl module. Not seeing the equivalent of _init_, though. Any pointers? Is that something I need Moose for?
I have a library that does much the same for #Perl, except that the database identifier we use is stored as $DB::Database, so if you want to have two databases open at the same time, you just can't. So, if I want to copy a table from DB 1 to DB2, for example, I use Python.
If you know me, you know I'm a Monger, so you know how painful that is for me.
So, I'm (finally) learning Moo, and I'm trying to reimplement mydb.py as a Perl module. Not seeing the equivalent of _init_, though. Any pointers? Is that something I need Moose for?
No comments:
Post a Comment