I'm looking to make use of Perl in an embedded fashion...as an interpreted
language for a virtual world. Does Perl have the ability to be a library
and then linked into other programs?
Weird question, I know.
j
--
Justin B. Harvey
http://www.auspex.net/jbharvey
It has. I use it so.
The best known example is mod_perl Apache module.
You have some docs. Try:
perldoc perlembed
--
Marcin Kasperski
Marcin.K...@softax.com.pl
Sure! Both INN and Apache use this feature with quite a bit of
success.
> Weird question, I know.
Nah. See the perlembed pod for how to do it. Just take care not to
get _too_ cute; oddities like running certain XS-based modules inside
a perl script embedded in a C app may cause your app to die horribly
on some platforms, but in general it's pretty smooth.
Could you elaborate a bit on those problems (platforms)? I'm just
programming such configuration...
--
Marcin Kasperski
Marcin.K...@softax.com.pl