Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Insert into mysql database

by Tux (Canon)
on Mar 03, 2021 at 07:44 UTC ( [id://11129065]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # prepare query
    my $query = <<"EOSQL";
    ...
    
    # disconnect from database
    $dbh->disconnect;
    
  2. or download this
    my $dbh = DBI->connect ($dsn, $user, $pass, {
        RaiseError         => 1,
        PrintError         => 1,
        ShowErrorStatement => 1,
        });
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (None)
    As of 2024-04-25 01:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found