Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://867543]
[Corion]: "Unmatched ) in regex; marked by <-- HERE in m/(&#9583;&# 9633;)&#9583;&# 65077; &#9531;&#9473;&# 9531;) <-- HERE / at -e line 1." :)
[Corion]: Meh - my "flip the table" string doesn't render here ;)
[choroba]: It renders correctly in pm-cb-g

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-07-17 16:06 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (372 votes). Check out past polls.