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

Thanks for taking the time to look at the program so carefully! That's very helpful.

Some version of the code appears to be working at Colby (because they have a working website using it) but, based on what you've said, it appears that the real code is different from what they posted on that page.

I'll make one more attempt to get the correct code from Colby and then I'll give up and hire a programmer like you suggest.

(original poster)

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

Replies are listed 'Best First'.
Re^3: How to convert a script from C to Perl?
by ig (Vicar) on Oct 27, 2010 at 10:14 UTC

    The program is quite simple and easy to translate, for someone that know C and Perl. As an exercise, I wrote a translation. It is very quick and dirty and I wouldn't run it on a public server without further review, but it might get you going. It's a bit too big to post here, but you can download it from my scratchpad. I'll leave it there for a few days.

Re^3: How to convert a script from C to Perl?
by ikegami (Patriarch) on Feb 03, 2011 at 18:00 UTC

    but, based on what you've said, it appears that the real code is different from what they posted on that page.

    It is possible for the code to run correctly even with that nasty bug.

    It definitely does not hinder a translation to Perl. The direct translation «sub { my $x; ... return $x; }» isn't buggy.