All / Any

Finding @INC


How can I find out which directories are in @INC?


@INC is a special variable which contains the directories perl looks through for files included through use, require or do statements. To see which directories are in @INC, run the following at the command-line:

    perl -e "foreach (@INC){print $_.\"\n\"}"

ActivePerl and Apache CGI config


How do I configure Apache to use ActivePerl for CGI?


To configure appache to use ActivePerl for CGI:

  1. Edit your httpd.conf file. You can open this file by selecting
    Start | Programs | Apache HTTP Server | Configure Apache Server
    | Edit the Apache httpd.conf Configuration File
    which will open
    httpd.conf file in the notepad editor.
  2. Search for "DocumentRoot". You should see a section that looks like this:

    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/apacheroot"

  3. Change the value of DocumentRoot to the actual local path to your web site.
    Make sure you use '/' forward slashes in the path. Apache doesn't understand
    '\' backward slashes in paths.
  4. Just below the DocumentRoot section you will see the main directory section:
    Options FollowSymLinks
    AllowOverride None

    on the Option line, add "ExecCGI":

    Options FollowSymLinks ExecCGI
  5. Search for the line:
    #AddHandler cgi-script .cgi

    Remove the '#' at the beginning to uncomment this line.

    AddHandler cgi-script .cgi

    If you want to use the .pl extension for your CGI scripts, change the extension
    so that the line looks like this:

    AddHandler cgi-script .pl
  6. Save and close httpd.conf.

  7. Restart the Apache service using the Apache Service
  8. Test your configuration by placing the following test script in your
    DocumentRoot directory as '' (or test.cgi). Open the
    local URL http://localhost/ in your browser.

    The test script:

    # ^^^ this must be the first line of the script! ^^^
    # start code

    use strict;
    use CGI;
    my $q = new CGI;

    # print header and start the markup output

    print $q->header( "text/html" ),$q->start_html( "hello from perl cgi!" );
    print $q->h2("Hello World!");
    print $q->end_html;
    # end code

Start-up problem on Komodo Pro after evaluating Personal Edition


Komodo Pro won't start after evaluating Komodo Personal. How can I fix


If you evaluated Komodo Personal edition prior to purchasing Komodo
Professional edition, you may encounter problems when you try to start
Komodo. This is a known issue when moving from Komodo Personal to
Professional. To get around this, you will need to delete your Komodo
preferences directory, located here:


  C:\Documents and Settings\username\Application Data\ActiveState\Komodo\3.5\

Linux and Solaris:


Mac OS X:

  /Users/username/Library/Application Data/Komodo/3.5

If you have already customized Komodo or added to the toolbox, you
will need to back up some files first in the above directory. Copy out
the toolbox.kpf file to preserve your toolbox, and the
schemes sub-folder to preserve any key-binding or font coloring

Remove Mozilla Profile Lock File


I get the error "Could not remove running lock file". How do I fix this?


Sometimes Komodo will leave an orphaned lock file if it hangs or
quite unexpectedly. If you get an error that says:

  komodo: error: Could not remove running lock file,

Try manually removing the following file:


Komodo Debugging with PHP / Apache


How do I configure Apache for PHP debugging in Komodo?

  1. Edit the php.ini file that Apache is using and add these values:


    To verify that this is configured properly, create a script called 'info.php' containing the code:

        <?php phpinfo(); ?>

    You should see the xdebug extension settings section near the bottom of the output.

  2. Open Komodo and go to Edit / Preferences / Debugger. Change the debugger
    listener port to 9000. Also, go into the 'Debug' menu and make sure the
    debugger listener is enabled.
  3. Open up a browser window and point it at a PHP script on your local Apache,
    but first append the XDEBUG_SESSION_START variable to the url:


    A dialog-box should appear in Komodo announcing that a remote debug session has been

UTF-8 Encoding


My non-English language files do not appear correctly. What can I do to correct this?


Customers running with non-English language localizations need to adjust
their Komodo localization settings to UTF-8 unicode:

  1. Click to Edit | Preferences | Internationalization
  2. De-select 'Use Encoding Defined in Environment'
  3. Select 'UTF-8' from the Encoding list.

To change a specific file's encoding scheme:

  1. Open the file in Komodo
  2. Right-click and select 'Properties and Settings'
  3. Select UTF-8 from the 'Encoding' list.

Komodo Invalid License error


I get an 'Invalid License' error message when starting Komodo. Why?


Ensure that the version of Komodo you have downloaded and installed matches the license you have purchased (i.e. Komodo Personal vs. Komodo Pro -- the licenses are not interchangable).

You can check the version of the the installed ActiveState license here:

Windows XP:

%USERPROFILE%\Application Data\ActiveState\ActiveState.lic

Windows 7:




Look for the line that says "Komodo". Immediately following the version number will be either Personal or Professional. Whichever it is is the version of Komodo you should install. If you have the appropriate license installed, try removing the license file (specified above) and reinstalling the license.

Installers for all versions of Komodo (including older releases) can be downloaded from:

Komodo User Preferences


I want to re-install Komodo. How do I keep my user preferences?


User preferences are stored in the following directories.

On Windows 7 and Vista:


On Windows 2000 / XP:

C:\Documents and Settings\<username>\Application Data\ActiveState\Komodo\3.5

On Linux and Solaris:


On Mac OS X:

/Users/<username>/Library/Application Support/Komodo

You can back-up this folder, then restore it once you've reinstalled Komodo. The one exception is the host-<hostname> sub-folder, which contains system-specific information such as your the intelligence database.

CodeIntel Database fix


Why is code intelligence not working properly?


Your code intelligence database (configured after Komodo installation) may be corrupted or out-of-date. You can rebuild the code intelligence database by:

Are there any applications which are incompatible with Komodo?


Are there any applications which are incompatible with Komodo?


The following applications have been known to cause problems with Komodo:

Norton Firewall / AV
Macafee Firewall / AV
Checkpoint VPN
Black ICE Defender

Consult the Komodo release notes for further information on application conflicts.