develooper Front page | perl.vmsperl | Postings from January 2002

Putting the perl source in with the embedding executable?

Thread Next
From:
Forrest Cahoon
Date:
January 30, 2002 15:12
Subject:
Putting the perl source in with the embedding executable?
Message ID:
OF20826160.EE0F4863-ON86256B51.007E7E97@stp.mrll.com
Hello, everyone.

I have been using simple wrappers around perl so I can run privileged
operations.

This works nicely, since I'm careful that my embedded executable will  only
run one perl file.

I wish I didn't have to keep my perl source and C wrapper seperate, though
.... if I write more than a few of these things, the maintenance will start
to become very ugly.

Is it possible to get my perl source into the same executable file as my
wrapper?  Some linker trick, maybe?
Or putting all the perl source into a buffer in my wrapper code? (Uck ...
need to write a perl tool to do that ... oh, not uck)

Forrest
not speaking for merrill corporation



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About