Keep It Simple, Stupid | |
PerlMonks |
Re^2: understand and prevent 'Out of memory!' during sub recursionby Discipulus (Canon) |
on Nov 09, 2017 at 10:50 UTC ( [id://1203016]=note: print w/replies, xml ) | Need Help?? |
Thanks Eily, the trick is in the and rigth? it breaks the recursion when grep return false. It's so bad map in void context? L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|