in reply to Re^15: localizing lexical without messing with tie ?
in thread localizing lexical without messing with tie ?

Ikegami, please read the OP , non-CORE was part of my question.

> You're obviously trying to avoid solving your problem, so I'm off.

No, I'm trying to avoid to solve _your_ problem.

I already thanked you and told you politely for 4 or 5 times that I already solved my problem, you are the one who is doggedly insisting to solve his perception of a XY-problem and snarls about bad coding style.

No idea why I'm still polite enough to reply, it takes a lot of energy to quarrel with you till it's obvious that you are misinterpretating things.

Cheers Rolf

  • Comment on Re^16: localizing lexical without messing with tie ?

Replies are listed 'Best First'.
Re^17: localizing lexical without messing with tie ?
by ikegami (Patriarch) on Sep 14, 2010 at 14:33 UTC

    I already thanked you and told you politely for 4 or 5 times that I already solved my problem

    No matter how many time you say it doesn't make it true. Throwing a bucket of paint at the wall doesn't paint the wall. The following doesn't sum an array,

    $sum = 0; $sum += $array[0] if @array > 0; $sum += $array[1] if @array > 1; $sum += $array[2] if @array > 2; $sum += $array[3] if @array > 3;

    and your code doesn't solve your problem (named parameters). You must declare every variable every time you call the sub. Your sub cannot be placed in a module. It's convoluted to the point of making it impossible to chain sub calls (the foundation of functional programming).

    Ikegami, please read the OP , non-CORE was part of my question.

    This has been covered as well, so whose not reading? The solution doesn't exist in core. Any solution written by me, you or someone else isn't in core. If you need help converting PM posts and .pm files in .pl files, there are people here that can help you.

    A reply falls below the community's threshold of quality. You may see it by logging in.