Welcome to the Monastery | |
PerlMonks |
Re^3: Calculate prime factors for a given numer in a perl one-linerby JavaFan (Canon) |
on Dec 15, 2010 at 22:53 UTC ( [id://877405]=note: print w/replies, xml ) | Need Help?? |
Remember this is a homework problem. We are supposed to be helping the supplicant to reach a solution by giving hints, and insightful analysis of the problem.If you want it to be a home-work problem, and to give insightful analysis, you shouldn't ask for a one-liner, and you shouldn't consider Abigail's (infamous) regexp as an answer. It's obscure, inefficient, uses an unreasonable amount of memory, and quite quickly hits limits.
In Section
Seekers of Perl Wisdom
|
|