fun with perl

Sharky Forums


Results 1 to 3 of 3

Thread: fun with perl

  1. #1
    Tiger Shark UmneyDurak's Avatar
    Join Date
    Apr 2004
    Location
    Escaped from 2nd floor of Soda Hall.
    Posts
    671

    fun with perl

    Hi.
    I'm new to perl, so bear with me. Hopefully someone can help me out with this.
    I'm trying to use DBI module to connect to SQL database from Unix server. Unfortenatly the admin on Unix server hid the module where the sun don't shine, and didn't add the path to the INV variable. I found the DBI.pm in /usr/local/(some more paths)/1.013/DBI.pm
    I'm not sure how to point the script to it.
    When I try: use "/usr/local/(some more paths)/1.013";, or
    use /usr/local/(some more paths)/1.013; I get syntax error message.
    I tried adding it to the inv variable with

    use lib "/usr/local/(some more paths)/1.013";
    no lib ".";
    use DBI;
    which didn't work either.

    Anyway any help would be appreciated.

    Thx.
    01+01=10

  2. #2
    Ultra Great White Shark!! richardginn's Avatar
    Join Date
    Feb 2001
    Posts
    16,118
    Will this webpage be of any help to you.

    http://dbi.perl.org/
    www.myeducational plan.com-come see my plan to fix the USA educational system. I hope this is sig legal. Major Site Design Update on July 18, 2006. On June 18, 2009 passed the 10,000 post mark. December 24, 2009: Major Theme change and more....

  3. #3
    Tiger Shark UmneyDurak's Avatar
    Join Date
    Apr 2004
    Location
    Escaped from 2nd floor of Soda Hall.
    Posts
    671
    Hi. Replacing " with ' fixed it. Thx.
    01+01=10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •