Otherwise the last 16 bits of $check is always 0xffff, at least on my version of Perl.my $check = sprintf '%x', int rand( 0xffff ); # first 16 bits $check .= sprintf '%x', int rand( 0xffff ); # second 16 bits
In reply to Re: Re: A little C code converted to Perl *HELP*
by Roger
in thread A little C code converted to Perl *HELP*
by regnab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |