@bases = split(//,"5.$basestring.3");
adds only '5' at the beginning and '3' at the end. But you are actually adding '5' and '.' at the beginning and '.' and '3' at the end. Check if your code works with@bases = split(//,"5".$basestring."3");
or@bases = split(//,"5${basestring}3");
In reply to Re: recursive algorithm
by grizzley
in thread recursive algorithm
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |