Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8658189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:42:13+00:00 2026-06-12T15:42:13+00:00

I am looking for a way to implement MySQL and Perl to make a

  • 0

I am looking for a way to implement MySQL and Perl to make a program. Where I’m lost is that I have a .sql file, that creates 3 tables for the Perl program to use. How do you:

1) Execute the file fileName.sql in Perl to create the tables

2) Link those created tables into manipulable variables in Perl Program (like an example being able to add a user to one of the tables)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T15:42:15+00:00Added an answer on June 12, 2026 at 3:42 pm

    In Perl you use the DBI database interface. In your case, you will also be using something like the DBD::MySQL driver.

    There is lots of help available on this topic (including lots of questions on this site).

    As for the specific question of your .sql file, there are a few approaches you could take, depending on how fancy you want to get:

    • You could just copy and paste the commands into your program as you write it.
    • You could execute an external program that will run the .sql file (for example, by using system()).
    • You could programmatically read in the .sql file and send the commands from within your program. A module could help you with this (I found SQL::Script on CPAN, which looks useful, though I don’t have any experience with it).

    I suggest you pick an approach, try it, and ask if you have any specific problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for the best way to implement the following. I have a MySQL
We're looking for a way to implement subtables in JSF 1.1. We cannot use
I'm looking for a way to implement a bidirectional RPC in node.js (means that
I'm looking for a way to implement drag and drop with multi touch in
Looking for some advice on the best way to implement localization along with client
I'm looking for a good way to implement a truly modal dialog in Silverlight
I'm looking for ideas on how to implement a way to get web based
I have three tables in a MySQL database used in a music library application:
I am looking for way to implement iframe just like a frame. There is
I'm looking for a way to implement 'type' visitor over c++ typelist. Here, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.