in reply to confused with Inline::C again

You've named your array @string. Did it start out as a string?

If so, in fact even if not, the simplest way of producing your list of suffices is:

## Skip this step (and the split) if the array started out as a string +! $string = join '', qw(a a b h a g s j s z u u e);; print substr( $string, $_ ) for 0 .. length( $string ) -1;; aabhagsjszuue abhagsjszuue bhagsjszuue hagsjszuue agsjszuue gsjszuue sjszuue jszuue szuue zuue uue ue e

Without having tested it, I'd bet even with the join that'll run twice as quickly as any I::C implementation.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?