<?xml version="1.0" encoding="windows-1252"?>
<node id="941024" title="Debugging threaded code" created="2011-12-01 04:50:07" updated="2011-12-01 04:50:07">
<type id="115">
perlquestion</type>
<author id="510391">
Gangabass</author>
<data>
<field name="doctext">
I'm using Komodo IDE but get this error while using Komodo's debugger:
&lt;cite&gt;Thread 1 terminated abnormally: Undefined subroutine &amp;Dos::CLONE called at C:\Users\roman.2GIS\Dropbox\Projects\Uncompleted\gkhambat\Basketball parser\scraper.pl line 23.&lt;/cite&gt;

And this is line 23 (i have no any Dos subroutine anywhere):
&lt;code&gt;
#!/usr/bin/perl

use strict;
use WWW::Mechanize;
use FindBin qw($Bin);
use Thread::Queue;
use HTML::TreeBuilder::XPath;
my @threads =
  map { threads-&gt;create( \&amp;create_thread, $_ ) }
  ( 1 .. $config-&gt;{NUMBER_OF_THREADS} );&lt;/code&gt;

So all threads are terminated immediately after start. In the previous versions of Komodo i have no such issue. What i can do with this?

Thanks.
Roman</field>
</data>
</node>
