Re: Useing Perl With C to Read From Executable




"Nori" <noridotjabi@xxxxxxxxx> wrote in message
news:1147621551.403439.7850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Okay. I am working on a small operating system called MOSS (mini
operating system/shell). One of the features of this is it has a file
system of its own which apears to the host operating system as a large
file. If you would like more information you can go check out
comp.lang.c where I have described it in detail many a time. Anyway as
some of you may know C has no way to read executeable code and execute
what it has read. I have heard that perl does. What I mean is:

This is the psudo file system that is a large file

::::FILE ONE:::
this is text
::::FILE TWO:::
exicuteable code is here
::::FILE THREE:::
more text text text text


Have you had a look at the do and eval commands yet?

Matt


.