Threads in perl for Solaris
am 05.10.2007 19:35:23 von mohdejazIs there threads support in perl for Solaris? I checked with SA and he
said there was no "threads.pm" for Solaris. Please advise...
Is there threads support in perl for Solaris? I checked with SA and he
said there was no "threads.pm" for Solaris. Please advise...
On Oct 5, 1:35 pm, 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...
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.
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