good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: How to convert a script from C to Perl?by lyklev (Pilgrim) |
on Oct 26, 2010 at 20:29 UTC ( [id://867543]=note: print w/replies, xml ) | Need Help?? |
I agree with Marshall, you need to have the code for num2Pstring fixed, this is very broken. Besides, it seems to be a bad reinvention of the sprintf function. The source of util.c is on the same web server (simply tried it, seems to work). After that, compiling the program is by far the easiest option and that is not very difficult if you know how. Converting this program to Perl is not going to change anything: the c-program works as a CGI program (I can see that from the code), for which the web server has to be configured by the sysadmin. If you have your program converted to Perl, you would still have to run it as a CGI program (there are different options, but those are waaay more difficult).
In Section
Seekers of Perl Wisdom
|
|