in reply to Re: Taking argument via drag-drop to a perl script
in thread Taking argument via drag-drop to a perl script
Any idea what that cryptic hex (i assume) string is? Is it MS's way of telling us they are the high priests of computing?
If they were, a mere 42 would have been perfectly sufficient. But they botched that up: the tally is only 41 ...
7+10+7+7+10sub sumit { my $sum = 0; map { $sum += $_ } split //, @_ ? $_[0] : $_; $sum } my @sums = map { sumit } map { sumit hex } split /\-/, '86C86720-42A0- +1069-A2E8-08002B30309D'; print sprintf "%s\n", join '+', @sums;
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Taking argument via drag-drop to a perl script
by kschwab (Vicar) on Dec 04, 2018 at 11:59 UTC | |
|
Re^3: Taking argument via drag-drop to a perl script
by pryrt (Abbot) on Dec 04, 2018 at 14:44 UTC | |
by bliako (Abbot) on Dec 04, 2018 at 16:26 UTC |