SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard Anat's Avatar
    Join Date
    Oct 2000
    Posts
    1,281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face How do I set the path to a directory

    Sorry about the daft question, but if the script says:

    use lib '/path/to/admin';

    How do I change that to work with my site? On my site the file I am told to make the change in is in mydomainname.com/cgi-bin/script/admin/file.pm

    I don't have any directories names either "path" or "to"...

    Please don't laugh! I have installed perl scripts before but they usually had some sort of example of something...
    My Web Publishing Blog: B6S.net - I dofollow but don't spam!
    Follow me on Twitter
    My favorite content writer:
    Steve Snedeker

  2. #2
    SitePoint Enthusiast menkes's Avatar
    Join Date
    Jul 2002
    Location
    Channel Islands
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If the script you are running is in your cgi-bin directory, then try this:

    use lib '/script/admin'
    Hope this helps...

  3. #3
    SitePoint Zealot
    Join Date
    Nov 2002
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a quick tip...always leave off the / on the last directory so don't do this: /usr/perl/ do this: /usr/perl
    Richard @ www.e3servers.com
    Multiple Domain Hosting & Web Hosting (Unlimited Domains)
    Reseller Hosting -- 30-Day Money Back Guarantee

  4. #4
    SitePoint Wizard Anat's Avatar
    Join Date
    Oct 2000
    Posts
    1,281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help guys. I guess it must have been something else though as the script still doesn't work. The documentation was not good enough for me - I need the "for dummies" version so I just gave up and I'm going for a ready-made and paid for Java applet.
    My Web Publishing Blog: B6S.net - I dofollow but don't spam!
    Follow me on Twitter
    My favorite content writer:
    Steve Snedeker


Bookmarks

Posting Permissions

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