good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: eby tachyon (Chancellor) |
on Jul 17, 2004 at 10:02 UTC ( [id://375218]=note: print w/replies, xml ) | Need Help?? |
There was a bug in the code I posted. AFAIK it does not effect the result per se just the efficiency. By trying to scrape a char by using @e instead of $#e (as used in IOs code) within the inner loop we are accessing a non existent element one past the end of the array. As a result @e is growing by one with each inner loop. cheers tachyon
In Section
Obfuscated Code
|
|