sub substrings { my @ss; $_[0] =~ /.*?(.+?)(?{push @ss, $1})(?!)/; @ss; }
--
Mark Dominus
Perl Paraphernalia
In reply to Re: Finding all substrings
by Dominus
in thread Finding all substrings
by TheHobbit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |