You split on
Your best bet is the list from a regex m/(pattern)/g
Using the result as hash keys will guaranty unique entries.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Divide a list of string into substrings
by LanX
in thread Divide a list of string into substrings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |