in reply to got Term::Twiddle working on Win32

You should add the pre-requisites that this module has (outside standard distro) to your Makefile.PL:

WriteMakefile( 'NAME' => 'Term::Spinner', 'VERSION_FROM' => 'Spinner.pm', 'PREREQ_PM' => { Threads => V?, Threads::Shared => V?}, );

This will let people know they need to download and install XYZ before they do the nmake test and have it choke...

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: got Term::Twiddle working on Win32
by icius (Sexton) on Feb 27, 2003 at 20:19 UTC
    Both Threads and Threads::Shared seem to be part of the standard 5.8 distro. I haven't tried this on any earlier versions.

      They are not part of 5.6 so either require 5.8 or require Threads. Maybe 5.8 as threads were very experimental on 5.6.....

      cheers

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

        I have ActiveState Perl 5.8, Build 805 on my system at work, and according to the thread documentation:
        Perl 5.6 introduced something called interpreter threads. Interpreter +threads are different from ``5005threads'' (the thread model of Perl +5.005) by creating a new perl interpreter per thread and not sharing +any data or state between threads by default. Prior to perl 5.8 this has only been available to people embedding per +l and for emulating fork() on windows.

        TStanley
        --------
        It is God's job to forgive Osama Bin Laden. It is our job to arrange the meeting -- General Norman Schwartzkopf