'-dt' was Yitzchak's sensible suggestion for enabling threads under the debugger:
perl -dt prog args
Instead of using the clunky manually set invironment variable.
PERL5DB_THREADED=true is in, but -dt is not yet - am currently waiting for more noise
first ;-)
Ciao
Richard Foley
http://www.oreilly.com/catalog/perldebugpr/
>-----Original Message-----
>From: Rafael Garcia-Suarez via RT [mailto:[EMAIL PROTECTED]
>Sent: Mittwoch, 13. Oktober 2004 10:01
>To: Foley, Richard
>Subject: Re: [PATCH] debugger handles threads [perl #31666]
>
>
>[EMAIL PROTECTED] wrote:
>> >Otherwise, perhaps
>> >skip the use threads (and complain if there's a later
>attempt) unless
>> >$ENV{PERL5DB_THREADED} is true (and have perl.c set
>PERL5DB_THREADED if
>> >you say -dt).
>> >
>> Hmmm, sounds ok, a quick workaround would be to 'require threads' at
>> the correct position instead of 'useing' it (i agree), and to use
>> $ENV{PERL5DB_THREADED}.
>
>Sounds good to me. BTW, what's "-dt" ?
>
>
>
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.