in reply to Re: (GOLF) splitting an hexadecimal colour triplet
in thread (GOLF) splitting an hexadecimal colour triplet
Clever use of binary bit wog. Misunderstood da question - scratch the rest. Off to wipe egg off face and eat some humble pie. I like the unpack pack too. You can shave a couple to 22 by dropping the quotes:
sub hexa_triplet { unpack xC3,pack N,pop }
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (3): (GOLF) splitting an hexadecimal colour triplet
by btrott (Parson) on Jul 05, 2001 at 21:37 UTC |
In Section
Obfuscated Code