saranraj has asked for the wisdom of the Perl Monks concerning the following question:

Is it possible to make perl code into shared library or dll so that i can use it in my c code or c++(it makes easier as there is no need to install perl)

Replies are listed 'Best First'.
Re: conversion to sharedlibrary/dll
by tachyon (Chancellor) on Oct 23, 2001 at 18:40 UTC

    Do a Super Search for "perlcc" in the text to find a range of relevant links. Also have a look at perlman:perlembed

    cheers

    tachyon

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

Re: making shared library using perl
by MZSanford (Curate) on Oct 24, 2001 at 12:37 UTC
    Take a look here
    i had a memory leak once, and it ruined my favorite shirt.
      Is it possible to convert one perl module(.pm file) as shared library.(so that i can use it in c)
        if perlcc is used on .pm files, it creates a shared object (.so) file. for more info, see here
        i had a memory leak once, and it ruined my favorite shirt.