I wrote some cgi scripts on the NGW100 web server with microperl. It is a nice tool, and it works quite like standard perl. I found some problems however:
1. I found, microperl ignores shell environment variables. I modified it in perl.c, and it works fine now. To keep the original source unchanged I made a patch, put it in package/microperl directory, but it is ignored by the build process. Are there any means to have it "registered" by make?
2. I understand it is the @INC variable that should contain the module paths. It should be defined in PERL5LIB env var. Could anybody help me in where to define such environment variable at boot time please? I thought it would be /etc/.bashrc, if I put "export PERL5LIB=...." there, it will not get a value after bootup. I of course could define @INC in my perl program, but then the program will not be transferable. Not a major problem, but it would be nicer like that.
Any help would be apprechiated!