Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Perl using Maypole help

  • 29-04-2005 08:29PM
    #1
    Registered Users, Registered Users 2 Posts: 261 ✭✭


    I am trying to get Maypole to work on windows as my attempts to get it working in linux have gone no where.
    I have been following this : http://maypole.perl.org/?WindowsInstall
    I have the first part done but i cant get apache to load when i make the entry into htpp.conf file. If any perl guru could tell me what this line does "use lib dirname(__FILE__) . "/../lib";" it would be a help.


Comments

  • Registered Users, Registered Users 2 Posts: 1,268 ✭✭✭hostyle


    use lib dirname(__FILE__) . "/../lib";"
    

    dirname(__FILENAME__) gets the directory path containing the current file (the script or module that called it). . appends the following string to this path. use lib means look for libraries in the path following it.

    Hope that helps. I haven't used Maypole at all. If you get no joy here, try perlmonks.org - a very good perl forum.


Advertisement
Advertisement