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
In reply to Re: Re: Re: Conversion of C code to Perl-ese.
by esh
in thread Conversion of C code to Perl-ese.
by gooch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |