If you can execute both c and perl code, why don't you just put print statements at similar positions in both programs (to print out variables naturally) and just watch where a difference turns up first with the same input values. Through bisecting you should be able to pinpoint the exact line where the problem occurs
In reply to Re: C code translation to Perl
by jethro
in thread C code translation to Perl
by bottch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |