in reply to Re: A little C code converted to Perl *HELP*
in thread A little C code converted to Perl *HELP*
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: A little C code converted to Perl *HELP*
by BrowserUk (Patriarch) on Nov 03, 2003 at 05:24 UTC |