Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: How to convert a script from C to Perl?

by lyklev (Pilgrim)
on Oct 26, 2010 at 20:29 UTC ( #867543=note: print w/replies, xml ) Need Help??


in reply to Re: How to convert a script from C to Perl?
in thread How to convert a script from C to Perl?

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).

  • Comment on Re^2: How to convert a script from C to Perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://867543]
help
Chatterbox?
LanX Anonymous Monks meeting
holli brings cookies to the meeting
[stonecolddevin]: good morning all
[holli]: I'd bring wine but I am dry since two years, so cookies must do
[1nickt]: james28909 I enjoyed your metaphysical wonderings in tghe scientist thread. Also thought your comment about baby crispr students was comment of the year.
Eily brings the milk

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2017-12-13 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (373 votes). Check out past polls.

    Notices?