in reply to Re: Where do Perls come from, Mommy?
in thread Where do Perls come from, Mommy?
Modules that use XS links to C are a good case in point. They are often difficult to install, with or without CPAN, and no amount of testing is going to get rid of all the difficulties, it's just a hairy system. Many other languages have the capability to dlopen() C libraries and make arbitrary calls against them; I wish Perl were able to do that. If it could, many of the uses of XS could be avoided, which would definitely help - PurePerl modules are very rarely difficult to install in my experience.
You mean something like C::DynaLib? Well, there's a big warning on top of the README of that module:
Please also note that there may be still systems without dynamic loading.*********************************************************** *** THIS CODE CONTAINS SYSTEM DEPENDENCIES. *** *** IT WILL NOT WORK ON ALL COMPILERS, MACHINES, OR *** *** OPERATING SYSTEMS. USE AT YOUR OWN RISK. *** *********************************************************** *********************************************************** *** A BETTER WAY TO INTERFACE TO C CODE IS WITH XS. *** *** PLEASE READ THE "perlxs" DOCUMENTATION BEFORE *** *** MAKING EXTENSIVE USE OF THIS MODULE. *** ***********************************************************
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Where do Perls come from, Mommy?
by flyingmoose (Priest) on Apr 01, 2004 at 22:21 UTC |