Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: how to create a database in perl

by erix (Vicar)
on Jan 28, 2011 at 15:53 UTC ( #884867=note: print w/ replies, xml ) Need Help??


in reply to Re^2: how to create a database in perl
in thread how to create a database in perl

You can just run "use mynewdbname" as a sql statement in do:

$dbh->do( "use mynewdbname" )

I don't use mysql, but I find plenty of usage of that when searching in google code with $dbh->do("use


Comment on Re^3: how to create a database in perl
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://884867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-07-05 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls