in reply to (duplicate) Eek! goto?
# given that @abc[0,1,2] correspond to the C vars a, b, and c, respe +ctively. my $i = $len-1; my $s = $len; $s <= 8 and $s--; $abc[$i/4] += $k[$i] << (($s%4)*8); # or, if you want to be too clever: $abc[$i>>2] += $k[$i] << (($s&3)<<3);
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Eek! goto?
by BrowserUk (Patriarch) on Mar 24, 2003 at 12:48 UTC | |
by jdporter (Paladin) on Mar 24, 2003 at 13:21 UTC |