Problems? Is your data what you think it is? PerlMonks

### Re^3: Regarding arrays

by Random_Walk (Prior)
 on May 23, 2007 at 16:31 UTC ( #617060=note: print w/replies, xml ) Need Help??

in reply to Re^2: Regarding arrays

Nice but you did not sum the values assigned to each letter key, eg ME has 10 and 7 so the result should be 17 if I have understood editi's spec correctly.

```HT=6
K=9
LE=1
LL=19
ME=17

vs

ME=10
K=4
LE=1
K=5
HT=6
ME=7
LL=19

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

Replies are listed 'Best First'.
Re^4: Regarding arrays
by shmem (Chancellor) on May 23, 2007 at 17:30 UTC
Nice but you did not sum the values assigned to each letter key, eg ME has 10 and 7 so the result should be 17 if I have understood editi's spec correctly.
You probably guessed right, but what spec? editi's post is just gimme, now guess what I want.

--shmem

```_(\$_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
/\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.(\$e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;\$e.e && print}```

Yeh the spec is blatantly spec light but editi does say that given the two arrays shown part of the output should be ME=17 which is the sum of the two values related to ME if you take a a relation based on position in array. educated_foo's output did not contain ME=17.

The spec is poor, it stinks but in real life I'd consider this pretty clear. I spent most of today trying to translate some vague idea of an SLA explained with graphs, tables and traffic lights into something that can actualy be measured.

creating definetive from vague specs is a normal part of my work, if this was a job of course I'd have translated editi's spec into somthing a tad formal and gone back for signoff but given what we have to go on I think educated_foo's answer was wrong.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

Create A New User
Node Status?
node history
Node Type: note [id://617060]
help
Chatterbox?
 [LanX]: ;-P [LanX]: What I learned now is to hide my friends list at FB (not that I have many ...) [Your Mother]: Careful. They're listening! [LanX]: I mean hiding my friends FROM my friends [Your Mother]: Yeah. I don't know what they expect. If a stranger can see the post or list or whatever, so can a harvesting program. [Your Mother]: HA. [NodeReaper]: he's already hiding from me :( [Corion]: Your Mother: Even I don't remember what "related and neat" I could have that would fit to 1211240 :) Maybe "pjax", which turns a static site into a Javascript-partial -reloading site? That's purely Javascript though [LanX]: true I might get visa problems when they hear about my love for massacres ... [Your Mother]: Corion, it was something similar to Cometd/Websockets.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2018-03-19 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
When I think of a mole I think of:

Results (240 votes). Check out past polls.

Notices?