in reply to Re: Re: Conversion of C code to Perl-ese.
in thread Conversion of C code to Perl-ese.
See if that matches your sample results.
Not documented in the C code is what happens if bufflen is less than 5 or greater than the actual size of the buff. You may have trouble getting Perl to replicate the behavior in these cases (accessing random memory on the stack).
-- Eric Hammond
|
|---|