Perl Monk, Perl Meditation | |
PerlMonks |
Re: an efficient program?by SamCG (Hermit) |
on May 25, 2006 at 21:16 UTC ( [id://551707]=note: print w/replies, xml ) | Need Help?? |
I don't think I have a clear idea of your database structure. Is this all in one table? If so, can you give a slightly better idea what this table looks like?
Usually I try to put as much of the logic in my query as possible. Can you conceive of a way to do most of this work in your SQL? ----------------- s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;
In Section
Seekers of Perl Wisdom
|
|