in reply to Re: suffix arrays
in thread suffix arrays

The downside is that the eval markly reduces the efficiency.

So, just do one eval() . . .

sub ATOa { my $code = '(' . join( ',', map { "\\substr(\$_[0], $_)" } 0 .. length( +$_[0] ) ) . ')'; return eval $code; }
:-)

-sauoq
"My two cents aren't worth a dime.";