http://www.perlmonks.org?node_id=617065


in reply to Re^3: Regarding arrays
in thread 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.
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}

Replies are listed 'Best First'.
Re^5: Regarding arrays
by Random_Walk (Prior) on May 23, 2007 at 23:02 UTC

    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!