in reply to Re: Hashes, Arrays, Comparing Values to Elements
in thread Hashes, Arrays, Comparing Values to Elements

What is XY?

Also I'm not sure I need to use a module to generate the CSS, as its just something very simple... I haven't really had time to evaluate how to make this app preform better, both on the HTML side, the CSS side, the jQuery side and of course the perl side.
  • Comment on Re^2: Hashes, Arrays, Comparing Values to Elements

Replies are listed 'Best First'.
Re^3: Hashes, Arrays, Comparing Values to Elements
by GrandFather (Saint) on Dec 01, 2008 at 00:32 UTC

    An XY problem is where you ask for help with an implementation detail where in fact you are trying to solve the wrong problem. For example, people very often ask how to generate names for variables at run time ($x0, $x1, $x2, ...) when they should be using an array ($x[0], $x[1], $x[2], ...). The answer to the question they ask (the X question) is "use symbolic names", but the answer to the question they should have asked (the Y question) is "use an array".

    In one of your other replies there was a hint that you are doing this to speed things up. Most likely you should be describing the bigger problem and asking for help with speeding things up rather than focusing on this issue (that probably won't make the difference anyway).


    Perl's payment curve coincides with its learning curve.
    A reply falls below the community's threshold of quality. You may see it by logging in.