Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old October 12th, 2000, 12:30 PM
rdeelon rdeelon is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 0 rdeelon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I need help with writing a perl script that looks through a MySQL database table for a date in the table that is five days from the time that the script runs. Can anyone outline the functions that perl uses to accomplish this task?

Reply With Quote
  #2  
Old October 12th, 2000, 08:40 PM
RyanP
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
too general, look into Perl DBI

Reply With Quote
  #3  
Old October 13th, 2000, 12:01 PM
Pepe Pepe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 71 Pepe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
You should use DBI module for communication with MySql.
Download latest version of DBI module, and MySQL driver from this page: http://cpan.valueclick.com/modules/by-module/DBD/

Then install it on your server. Or probably just upload DBI.pm and Mysql.pm from those zip files.

You should upload in this directories:

/cgi-bin/DBI.pm
/cgi-bin/DBD/Mysql.pm

Tutorial for DBI for beginners: http://www.perl.com/pub/1999/10/DBI.html

And Tutorial for MySQL:
http://www.mysql.com/Manual_chapter...l_Tutorial.html

If something doesn't work right search trough previous posts on this forum, most questions are already answered...

[This message has been edited by Pepe (edited October 13, 2000).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Perl and MySQL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway