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

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.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.