Threads in perl for Solaris

Threads in perl for Solaris

am 05.10.2007 19:35:23 von mohdejaz

Is there threads support in perl for Solaris? I checked with SA and he
said there was no "threads.pm" for Solaris. Please advise...

Re: Threads in perl for Solaris

am 05.10.2007 19:39:37 von it_says_BALLS_on_your forehead

On Oct 5, 1:35 pm, mohdejaz wrote:
> Is there threads support in perl for Solaris? I checked with SA and he
> said there was no "threads.pm" for Solaris. Please advise...

yes, but you need to configure Perl with threads prior to the
installation.

Thread support is a Perl compile-time option - it's something that's
turned on or off when Perl is built at your site, rather than when
your programs are compiled. If your Perl wasn't compiled with thread
support enabled, then any attempt to use threads will fail.

There should be no issues specific to Solaris regarding Perl threads.

Re: Threads in perl for Solaris

am 07.10.2007 23:01:32 von Ben Morrow

Quoth mohdejaz :
> Is there threads support in perl for Solaris? I checked with SA and he
> said there was no "threads.pm" for Solaris. Please advise...

Who is SA?

threads.pm exists in all versions of 5.8. If your version of Solaris
comes with 5.6 (or earlier) pre-installed you cannot install threads.pm
for that perl; however, you can install a new perl which does support
threads. I am fairly certain there is a Solaris package for perl 5.8
available from sunfreeware.com.

Ben